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; }
153 wp<EffectChain> mChain; // parent effect chain
253 // the EffectChain class represents a group of effects associated to one audio session.
254 // There can be any number of EffectChain objects per output mixer thread (PlaybackThread).
255 // The EffectChain wit
262 class EffectChain : public RefBase { class in inherits:RefBase
[all...]
H A DEffects.cpp62 const wp<AudioFlinger::EffectChain>& chain,
330 sp<EffectChain> chain = mChain.promote();
503 // start() must be called with PlaybackThread::mLock or EffectChain::mLock held
506 sp<EffectChain> chain;
575 // must be called with EffectChain::mLock held
1522 #define LOG_TAG "AudioFlinger::EffectChain"
1524 AudioFlinger::EffectChain::EffectChain(ThreadBase *thread, function in class:android::AudioFlinger::EffectChain
1538 AudioFlinger::EffectChain::~EffectChain()
[all...]
H A DThreads.h318 sp<EffectChain> getEffectChain(audio_session_t sessionId);
320 sp<EffectChain> getEffectChain_l(audio_session_t sessionId) const;
322 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0;
324 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0;
329 void lockEffectChains_l(Vector< sp<EffectChain> >& effectChains);
331 void unlockEffectChains(const Vector< sp<EffectChain> >& effectChains);
333 Vector< sp<EffectChain> > getEffectChains_l() const { return mEffectChains; };
426 void checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain);
476 Vector< sp<EffectChain> > mEffectChains;
752 virtual status_t addEffectChain_l(const sp<EffectChain>
[all...]
H A DThreads.cpp861 sp<EffectChain> chain = mEffectChains[i];
997 sp<EffectChain> chain = getEffectChain_l(sessionId);
1009 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain)
1022 if (sessionEffects.keyAt(i) == EffectChain::kKeyForSuspendAll) {
1055 int key = EffectChain::kKeyForSuspendAll;
1117 sp<EffectChain> chain = getEffectChain_l(sessionId);
1276 sp<EffectChain> chain;
1303 chain = new EffectChain(this, sessionId);
1401 sp<EffectChain> chain = getEffectChain_l(sessionId);
1411 sp<EffectChain> chai
[all...]
H A DAudioFlinger.cpp1675 sp<EffectChain> chain = getOrphanEffectChain_l(lSessionId);
2119 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l();
2391 sp<EffectChain> chain;
2394 Vector< sp<EffectChain> > effectChains = recordThread->getEffectChains_l();
2568 Vector< sp<EffectChain> > chains;
2573 sp<EffectChain> ec = t->mEffectChains[j];
2582 sp<EffectChain> ec = t->mEffectChains[j];
2588 sp<EffectChain> ec = chains[i];
3029 sp<EffectChain> chain = getOrphanEffectChain_l(sessionId);
3092 sp<EffectChain> chai
[all...]
H A DAudioFlinger.h525 class EffectChain;
686 status_t putOrphanEffectChain_l(const sp<EffectChain>& chain);
689 sp<EffectChain> getOrphanEffectChain_l(audio_session_t session);
798 DefaultKeyedVector< audio_session_t , sp<EffectChain> > mOrphanEffectChains;
H A DTracks.cpp712 sp<EffectChain> ec = thread->getEffectChain_l(mSessionId);
1018 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX);
1039 sp<EffectChain> dstChain = effect->chain().promote();

Completed in 91 milliseconds