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

Commit 3a7ea707 authored by Andy Hung's avatar Andy Hung Committed by android-build-merger
Browse files

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

am: 6a3e785a

Change-Id: I2c9d29275c84d00aae25874fa0f90ac2e6676456
parents d357a5f3 6a3e785a
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
            }

            /*