Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/loudness/aidl/
DLoudnessEnhancerContext.cpp48 if (mCompressor != nullptr) { in reset()
50 mCompressor->Initialize(targetAmp, mCommon.input.base.sampleRate); in reset()
78 if (mCompressor != nullptr) { in process()
83 mCompressor->Compress(&leftSample, &rightSample); in process()
117 mCompressor = std::make_unique<le_fx::AdaptiveDynamicRangeCompression>(); in init_params()
118 mCompressor->Initialize(targetAmp, mCommon.input.base.sampleRate); in init_params()
DLoudnessEnhancerContext.h51 std::unique_ptr<le_fx::AdaptiveDynamicRangeCompression> mCompressor; variable
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp83 le_fx::AdaptiveDynamicRangeCompression* mCompressor; member
94 if (pContext->mCompressor != NULL) { in LE_reset()
97 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_reset()
194 if (pContext->mCompressor == NULL) { in LE_init()
195 pContext->mCompressor = new le_fx::AdaptiveDynamicRangeCompression(); in LE_init()
196 pContext->mCompressor->Initialize(targetAmp, pContext->mConfig.inputCfg.samplingRate); in LE_init()
228 pContext->mCompressor = NULL; in LELib_Create()
254 if (pContext->mCompressor != NULL) { in LELib_Release()
255 delete pContext->mCompressor; in LELib_Release()
256 pContext->mCompressor = NULL; in LELib_Release()
[all …]