Home
last modified time | relevance | path

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

/aosp12/frameworks/av/services/audioflinger/
H A DEffects.h220 class EffectModule : public EffectBase {
222 EffectModule(const sp<EffectCallbackInterface>& callabck,
228 virtual ~EffectModule();
294 DISALLOW_COPY_AND_ASSIGN(EffectModule);
458 status_t createEffect_l(sp<EffectModule>& effect,
463 status_t addEffect_l(const sp<EffectModule>& handle);
464 status_t addEffect_ll(const sp<EffectModule>& handle);
471 sp<EffectModule> getEffectFromId_l(int id);
640 wp<EffectModule> mEffect;
711 size_t removeEffect(const sp<EffectModule>& effect);
[all …]
H A DEffects.cpp555 AudioFlinger::EffectModule::EffectModule(const sp<AudioFlinger::EffectCallbackInterface>& callback, in EffectModule() function in android::AudioFlinger::EffectModule
599 AudioFlinger::EffectModule::~EffectModule() in ~EffectModule()
612 bool AudioFlinger::EffectModule::updateState() { in updateState()
667 void AudioFlinger::EffectModule::process() in process()
867 void AudioFlinger::EffectModule::reset_l() in reset_l()
1072 status_t AudioFlinger::EffectModule::init() in init()
1105 status_t AudioFlinger::EffectModule::start() in start()
1118 status_t AudioFlinger::EffectModule::start_l() in start_l()
1142 status_t AudioFlinger::EffectModule::stop() in stop()
1148 status_t AudioFlinger::EffectModule::stop_l() in stop_l()
[all …]
H A DAudioFlinger.cpp1844 std::vector< sp<AudioFlinger::EffectModule> > removedEffects; in removeNotificationClient()
3122 std::vector< sp<EffectModule> > removedEffects; in releaseAudioSessionId()
3175 std::vector< sp<EffectModule> > removedEffects; in purgeStaleEffects_l()
3228 sp<EffectModule> effect = ec->mEffects[0]; in purgeStaleEffects_l()
3977 sp<EffectModule> effect = thread->getEffect_l(sessionId, effectId); in setEffectSuspended()
4015 sp<EffectModule> effect = chain->getEffectFromId_l(0); in moveEffectChain_l()
4016 Vector< sp<EffectModule> > removed; in moveEffectChain_l()
4026 if (effect->state() == EffectModule::ACTIVE || in moveEffectChain_l()
4027 effect->state() == EffectModule::STOPPING) { in moveEffectChain_l()
4091 if (effect->state() == EffectModule::ACTIVE || in moveAuxEffectToIo()
[all …]
H A DAudioFlinger.h569 class EffectModule; variable
816 bool updateOrphanEffectChains(const sp<EffectModule>& effect);
818 std::vector< sp<EffectModule> > purgeStaleEffects_l();
H A DThreads.h447 sp<AudioFlinger::EffectModule> getEffect(audio_session_t sessionId, int effectId);
448 sp<AudioFlinger::EffectModule> getEffect_l(audio_session_t sessionId, int effectId);
452 status_t addEffect_l(const sp< EffectModule>& effect);
455 void removeEffect_l(const sp< EffectModule>& effect, bool release = false);
540 void onEffectEnable(const sp<EffectModule>& effect);
H A DThreads.cpp1310 if (EffectModule::isHapticGenerator(&desc->type)) { in checkEffectCompatibility_l()
1333 if (EffectModule::isHapticGenerator(&desc->type) && mHapticChannelCount == 0) { in checkEffectCompatibility_l()
1483 sp<EffectModule> effect; in createEffect_l()
1579 sp<EffectModule> effect; in disconnectEffectHandle()
1605 void AudioFlinger::ThreadBase::onEffectEnable(const sp<EffectModule>& effect) { in onEffectEnable()
1628 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect(audio_session_t sessionId, in getEffect()
1635 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect_l(audio_session_t sessionId, in getEffect_l()
1650 status_t AudioFlinger::ThreadBase::addEffect_l(const sp<EffectModule>& effect) in addEffect_l()
1695 void AudioFlinger::ThreadBase::removeEffect_l(const sp<EffectModule>& effect, bool release) { in removeEffect_l()
3634 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect_l()
[all …]