Home
last modified time | relevance | path

Searched refs:rightSample (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp307 float leftSample, rightSample; in LE_process() local
312 rightSample = inputAmp * inBuffer->f32[2*inIdx +1]; in LE_process()
313 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
315 inBuffer->f32[2*inIdx +1] = rightSample * inverseScale; in LE_process()
318 rightSample = inputAmp * (float)inBuffer->s16[2*inIdx +1]; in LE_process()
319 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
321 inBuffer->s16[2*inIdx +1] = (int16_t) rightSample; in LE_process()