Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp75 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset() local
76 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset()
77 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset()
178 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_init() local
179 ALOGV("LE_init(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_init()
183 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_init()