Searched refs:targetAmp (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libeffects/loudness/aidl/ |
D | LoudnessEnhancerContext.cpp | 47 float targetAmp = pow(10, mGain / 2000.0f); // mB to linear amplification in reset() local 50 mCompressor->Initialize(targetAmp, mCommon.input.base.sampleRate); in reset() 114 float targetAmp = pow(10, mGain / 2000.0f); // mB to linear amplification in init_params() local 115 LOG(VERBOSE) << __func__ << "Target gain = " << mGain << "mB <=> factor = " << targetAmp; in init_params() 118 mCompressor->Initialize(targetAmp, mCommon.input.base.sampleRate); in init_params()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 95 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_reset() local 96 ALOGV("LE_reset(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_reset() 97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset() 191 float targetAmp = pow(10, pContext->mTargetGainmB/2000.0f); // mB to linear amplification in LE_init() local 192 ALOGV("LE_init(): Target gain=%dmB <=> factor=%.2fX", pContext->mTargetGainmB, targetAmp); in LE_init() 196 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_init()
|