Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp80 int32_t mTargetGainmB;// target gain in mB member
95 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset()
96 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset()
190 pContext->mTargetGainmB = LOUDNESS_ENHANCER_DEFAULT_TARGET_GAIN_MB; in LE_init()
191 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_init()
192 ALOGV("LE_init(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_init()
303 const float inputAmp = pow(10, pContext->mTargetGainmB/2000.0f) * scale; in LE_process()
305 float inputAmp = pow(10, pContext->mTargetGainmB/2000.0f); in LE_process()
424 ALOGV("get target gain(mB) = %d", pContext->mTargetGainmB); in LE_command()
425 *((int32_t *)p->data + 1) = pContext->mTargetGainmB; in LE_command()
[all …]