Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp60 int32_t mTargetGainmB;// target gain in mB member
75 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset()
76 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset()
177 pContext->mTargetGainmB = LOUDNESS_ENHANCER_DEFAULT_TARGET_GAIN_MB; in LE_init()
178 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_init()
179 ALOGV("LE_init(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_init()
287 float inputAmp = pow(10, pContext->mTargetGainmB/2000.0f); in LE_process()
387 ALOGV("get target gain(mB) = %d", pContext->mTargetGainmB); in LE_command()
388 *((int32_t *)p->data + 1) = pContext->mTargetGainmB; in LE_command()
410 pContext->mTargetGainmB = *((int32_t *)p->data + 1); in LE_command()
[all …]