Searched refs:EffectChain (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
28 // AudioHandle -> ThreadBase -> EffectChain -> EffectModule
46 const wp<AudioFlinger::EffectChain>& chain,
97 void setChain(const wp<EffectChain>& chain) { mChain = chain; }
107 wp<EffectChain>& chain() { return mChain; }
154 wp<EffectChain> mChain; // parent effect chain
255 // the EffectChain class represents a group of effects associated to one audio session.
256 // There can be any number of EffectChain objects per output mixer thread (PlaybackThread).
257 // The EffectChain wit
264 class EffectChain : public RefBase { class in inherits:RefBase
[all...]
H A DEffects.cpp60 const wp<AudioFlinger::EffectChain>& chain,
325 sp<EffectChain> chain = mChain.promote();
498 // start() must be called with PlaybackThread::mLock or EffectChain::mLock held
501 sp<EffectChain> chain;
570 // must be called with EffectChain::mLock held
1506 #define LOG_TAG "AudioFlinger::EffectChain"
1508 AudioFlinger::EffectChain::EffectChain(ThreadBase *thread, function in class:android::AudioFlinger::EffectChain
1522 AudioFlinger::EffectChain::~EffectChain()
[all...]
H A DThreads.h319 sp<EffectChain> getEffectChain(audio_session_t sessionId);
321 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
323 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0;
325 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0;
330 void lockEffectChains_l(Vector< sp<EffectChain> >& effectChains);
332 void unlockEffectChains(const Vector< sp<EffectChain> >& effectChains);
334 Vector< sp<EffectChain> > getEffectChains_l() const { return mEffectChains; };
429 void checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain);
479 Vector< sp<EffectChain> > mEffectChains;
750 virtual status_t addEffectChain_l(const sp<EffectChain>
[all...]
H A DThreads.cpp865 sp<EffectChain> chain = mEffectChains[i];
1008 sp<EffectChain> chain = getEffectChain_l(sessionId);
1020 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain)
1033 if (sessionEffects.keyAt(i) == EffectChain::kKeyForSuspendAll) {
1066 int key = EffectChain::kKeyForSuspendAll;
1128 sp<EffectChain> chain = getEffectChain_l(sessionId);
1286 sp<EffectChain> chain;
1313 chain = new EffectChain(this, sessionId);
1411 sp<EffectChain> chain = getEffectChain_l(sessionId);
1421 sp<EffectChain> chai
[all...]
H A DAudioFlinger.cpp1684 sp<EffectChain> chain = getOrphanEffectChain_l(lSessionId);
2128 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l();
2400 sp<EffectChain> chain;
2403 Vector< sp<EffectChain> > effectChains = recordThread->getEffectChains_l();
2577 Vector< sp<EffectChain> > chains;
2582 sp<EffectChain> ec = t->mEffectChains[j];
2591 sp<EffectChain> ec = t->mEffectChains[j];
2597 sp<EffectChain> ec = chains[i];
3038 sp<EffectChain> chain = getOrphanEffectChain_l(sessionId);
3101 sp<EffectChain> chai
[all...]
H A DAudioFlinger.h522 class EffectChain;
683 status_t putOrphanEffectChain_l(const sp<EffectChain>& chain);
686 sp<EffectChain> getOrphanEffectChain_l(audio_session_t session);
795 DefaultKeyedVector< audio_session_t , sp<EffectChain> > mOrphanEffectChains;
H A DTracks.cpp691 sp<EffectChain> ec = thread->getEffectChain_l(mSessionId);
997 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX);
1018 sp<EffectChain> dstChain = effect->chain().promote();

Completed in 300 milliseconds