Home
last modified time | relevance | path

Searched refs:EffectChain (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/audioflinger/
DEffects.h45 const wp<AudioFlinger::EffectChain>& chain,
91 void setChain(const wp<EffectChain>& chain) { mChain = chain; } in setChain()
100 wp<EffectChain>& chain() { return mChain; } in chain()
142 wp<EffectChain> mChain; // parent effect chain
243 class EffectChain : public RefBase {
245 EffectChain(const wp<ThreadBase>& wThread, int sessionId);
246 EffectChain(ThreadBase *thread, int sessionId);
247 virtual ~EffectChain();
335 EffectChain(const EffectChain&);
336 EffectChain& operator =(const EffectChain&);
DEffects.cpp59 const wp<AudioFlinger::EffectChain>& chain, in EffectModule()
298 sp<EffectChain> chain = mChain.promote(); in process()
484 sp<EffectChain> chain = mChain.promote(); in start_l()
1335 AudioFlinger::EffectChain::EffectChain(ThreadBase *thread, in EffectChain() function in android::AudioFlinger::EffectChain
1349 AudioFlinger::EffectChain::~EffectChain() in ~EffectChain()
1358 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromDesc_l( in getEffectFromDesc_l()
1372 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromId_l(int id) in getEffectFromId_l()
1386 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromType_l( in getEffectFromType_l()
1399 void AudioFlinger::EffectChain::clearInputBuffer() in clearInputBuffer()
1411 void AudioFlinger::EffectChain::clearInputBuffer_l(sp<ThreadBase> thread) in clearInputBuffer_l()
[all …]
DThreads.h296 sp<EffectChain> getEffectChain(int sessionId);
298 sp<EffectChain> getEffectChain_l(int sessionId) const;
300 virtual status_t addEffectChain_l(const sp<EffectChain>& chain) = 0;
302 virtual size_t removeEffectChain_l(const sp<EffectChain>& chain) = 0;
307 void lockEffectChains_l(Vector< sp<EffectChain> >& effectChains);
309 void unlockEffectChains(const Vector< sp<EffectChain> >& effectChains);
311 Vector< sp<EffectChain> > getEffectChains_l() const { return mEffectChains; }; in getEffectChains_l()
387 void checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain);
430 Vector< sp<EffectChain> > mEffectChains;
574 virtual status_t addEffectChain_l(const sp<EffectChain>& chain);
[all …]
DAudioFlinger.cpp1460 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)lSessionId); in openRecord()
1881 Vector< sp<EffectChain> > effectChains = thread->getEffectChains_l(); in closeOutput_nonvirtual()
2116 sp<EffectChain> chain; in closeInput_nonvirtual()
2119 Vector< sp<EffectChain> > effectChains = thread->getEffectChains_l(); in closeInput_nonvirtual()
2257 Vector< sp<EffectChain> > chains; in purgeStaleEffects_l()
2262 sp<EffectChain> ec = t->mEffectChains[j]; in purgeStaleEffects_l()
2271 sp<EffectChain> ec = t->mEffectChains[j]; in purgeStaleEffects_l()
2277 sp<EffectChain> ec = chains[i]; in purgeStaleEffects_l()
2580 sp<EffectChain> chain = getOrphanEffectChain_l((audio_session_t)sessionId); in createEffect()
2642 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); in moveEffectChain_l()
[all …]
DThreads.cpp622 sp<EffectChain> chain = mEffectChains[i]; in dumpEffectChains()
761 sp<EffectChain> chain = getEffectChain_l(sessionId); in setEffectSuspended_l()
773 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) in checkSuspendOnAddEffectChain_l()
786 if (sessionEffects.keyAt(i) == EffectChain::kKeyForSuspendAll) { in checkSuspendOnAddEffectChain_l()
819 int key = EffectChain::kKeyForSuspendAll; in updateSuspendedSessions_l()
881 sp<EffectChain> chain = getEffectChain_l(sessionId); in checkSuspendOnEffectEnabled_l()
900 sp<EffectChain> chain; in createEffect_l()
963 chain = new EffectChain(this, sessionId); in createEffect_l()
1038 sp<EffectChain> chain = getEffectChain_l(sessionId); in getEffect_l()
1048 sp<EffectChain> chain = getEffectChain_l(sessionId); in addEffect_l()
[all …]
DAudioFlinger.h451 class EffectChain; variable
579 status_t putOrphanEffectChain_l(const sp<EffectChain>& chain);
582 sp<EffectChain> getOrphanEffectChain_l(audio_session_t session);
734 DefaultKeyedVector< audio_session_t , sp<EffectChain> > mOrphanEffectChains;
DTracks.cpp666 sp<EffectChain> ec = thread->getEffectChain_l(mSessionId); in start()
958 sp<EffectChain> chain = srcThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in attachAuxEffect()
979 sp<EffectChain> dstChain = effect->chain().promote(); in attachAuxEffect()