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

gugelfrei
Andy Hung 5 years ago committed by Android (Google) Code Review
commit 6a3e785a3e

@ -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
}
/*

Loading…
Cancel
Save