Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.cpp78 for (auto& slowEnv : mProcessorsRecord.slowEnvs) { in reset() local
79 slowEnv->clear(); in reset()
290 auto slowEnv = std::make_shared<::android::audio_effect::haptic_generator::SlowEnvelope>( in buildProcessingChain() local
293 mProcessorsRecord.slowEnvs.push_back(slowEnv); in buildProcessingChain()
294 mProcessingChain.push_back([slowEnv](float* out, const float* in, size_t frameCount) { in buildProcessingChain()
295 slowEnv->process(out, in, frameCount); in buildProcessingChain()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp233 auto slowEnv = std::make_shared<SlowEnvelope>( // SlowEnvelope = partial normalizer, or AGC. in HapticGenerator_buildProcessingChain() local
236 processorsRecord.slowEnvs.push_back(slowEnv); in HapticGenerator_buildProcessingChain()
237 processingChain.push_back([slowEnv](float *out, const float *in, size_t frameCount) { in HapticGenerator_buildProcessingChain()
238 slowEnv->process(out, in, frameCount); in HapticGenerator_buildProcessingChain()
301 for (auto& slowEnv : context->processorsRecord.slowEnvs) { in HapticGenerator_Reset() local
302 slowEnv->clear(); in HapticGenerator_Reset()