Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a3e785a authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "libeffects: Corrected the Copy_Float in LVM_Process.c to handle MC" into qt-dev

parents a90adf0a 97aaad8e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -230,9 +230,15 @@ LVM_ReturnStatus_en LVM_Process(LVM_Handle_t hInstance,
             */
            if (pToProcess != pProcessed)
            {
#ifdef SUPPORT_MC
                Copy_Float(pToProcess,                             /* Source */
                           pProcessed,                             /* Destination */
                           (LVM_INT16)(NrChannels * NrFrames));    /* Copy all samples */
#else
                Copy_Float(pToProcess,                             /* Source */
                           pProcessed,                             /* Destination */
                           (LVM_INT16)(2 * SampleCount));          /* Left and right */
#endif
            }

            /*