Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp76 float leftSample, rightSample; in process() local
81 leftSample = inputAmp * in[inIdx]; in process()
83 mCompressor->Compress(&leftSample, &rightSample); in process()
84 in[inIdx] = leftSample * inverseScale; in process()
89 leftSample = inputAmp * in[inIdx]; in process()
91 in[inIdx] = leftSample * inverseScale; in process()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp307 float leftSample, rightSample; in LE_process() local
311 leftSample = inputAmp * inBuffer->f32[2*inIdx]; in LE_process()
313 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
314 inBuffer->f32[2*inIdx] = leftSample * inverseScale; in LE_process()
317 leftSample = inputAmp * (float)inBuffer->s16[2*inIdx]; in LE_process()
319 pContext->mCompressor->Compress(&leftSample, &rightSample); in LE_process()
320 inBuffer->s16[2*inIdx] = (int16_t) leftSample; in LE_process()