Searched refs:EffectModule (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/services/audioflinger/
H A DEffects.h24 // EffectModule and EffectChain classes both have their own mutex to protect
27 // AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
33 // The EffectModule class is a wrapper object controlling the effect engine implementation
40 // When controlling an auxiliary effect, the EffectModule also provides an input buffer used by
42 class EffectModule : public RefBase { class in inherits:RefBase
44 EffectModule(ThreadBase *thread,
49 virtual ~EffectModule();
133 EffectModule(const EffectModule&);
134 EffectModule
[all...]
H A DEffects.cpp52 // EffectModule implementation
56 #define LOG_TAG "AudioFlinger::EffectModule"
58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, function in class:android::AudioFlinger::EffectModule
97 AudioFlinger::EffectModule::~EffectModule()
107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
180 // must be called with EffectModule::mLock held
181 AudioFlinger::EffectHandle *AudioFlinger::EffectModule
[all...]
H A DThreads.h315 sp<AudioFlinger::EffectModule> getEffect(int sessionId, int effectId);
316 sp<AudioFlinger::EffectModule> getEffect_l(int sessionId, int effectId);
319 status_t addEffect_l(const sp< EffectModule>& effect);
322 void removeEffect_l(const sp< EffectModule>& effect);
339 void checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
342 void checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect,
H A DAudioFlinger.cpp2298 sp<EffectModule> effect = ec->mEffects[0];
2670 sp<EffectModule> effect = chain->getEffectFromId_l(0);
2671 Vector< sp<EffectModule> > removed;
2681 if (effect->state() == EffectModule::ACTIVE ||
2682 effect->state() == EffectModule::STOPPING) {
2783 bool AudioFlinger::updateOrphanEffectChains(const sp<AudioFlinger::EffectModule>& effect)
H A DAudioFlinger.h449 class EffectModule;
587 bool updateOrphanEffectChains(const sp<EffectModule>& effect);
H A DThreads.cpp858 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
866 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect,
897 sp<EffectModule> effect;
982 effect = new EffectModule(this, chain, desc, id, sessionId);
1030 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect(int sessionId, int effectId)
1036 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect_l(int sessionId, int effectId)
1044 status_t AudioFlinger::ThreadBase::addEffect_l(const sp<EffectModule>& effect)
1088 void AudioFlinger::ThreadBase::removeEffect_l(const sp<EffectModule>& effect) {
2368 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId);
H A DTracks.cpp963 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId);
974 if (effect->state() == EffectModule::ACTIVE ||
975 effect->state() == EffectModule::STOPPING) {

Completed in 168 milliseconds