Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DPlaybackTracks.h125 status_t attachAuxEffect(int EffectId) final;
126 void setAuxBuffer(int EffectId, int32_t* buffer) final;
DIAfTrack.h302 virtual status_t attachAuxEffect(int EffectId) = 0;
303 virtual void setAuxBuffer(int EffectId, int32_t* buffer) = 0;
DTracks.cpp1702 status_t Track::attachAuxEffect(int EffectId) in attachAuxEffect() argument
1713 status_t status = af->moveAuxEffectToIo(EffectId, dstThread, &srcThread); in attachAuxEffect()
1715 if (EffectId != 0 && status == NO_ERROR) { in attachAuxEffect()
1716 status = dstThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
1718 AudioSystem::moveEffectsToIo(std::vector<int>(EffectId), dstThread->id()); in attachAuxEffect()
1723 af->moveAuxEffectToIo(EffectId, srcThread, &dstThread); in attachAuxEffect()
1728 void Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer() argument
1730 mAuxEffectId = EffectId; in setAuxBuffer()
DIAfThread.h490 virtual status_t attachAuxEffect(const sp<IAfTrack>& track, int EffectId)
492 virtual status_t attachAuxEffect_l(const sp<IAfTrack>& track, int EffectId)
DThreads.h1071 status_t attachAuxEffect(const sp<IAfTrack>& track, int EffectId) final
1073 status_t attachAuxEffect_l(const sp<IAfTrack>& track, int EffectId) final REQUIRES(mutex());
DAudioFlinger.cpp4779 status_t AudioFlinger::moveAuxEffectToIo(int EffectId, in moveAuxEffectToIo() argument
4784 const sp<IAfThreadBase> threadBase = getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in moveAuxEffectToIo()
4787 if (EffectId != 0 && thread != 0 && dstThread != thread.get()) { in moveAuxEffectToIo()
4795 sp<IAfEffectModule> effect = srcChain->getEffectFromId_l(EffectId); in moveAuxEffectToIo()
DThreads.cpp3931 const sp<IAfTrack>& track, int EffectId) in attachAuxEffect() argument
3934 return attachAuxEffect_l(track, EffectId); in attachAuxEffect()
3938 const sp<IAfTrack>& track, int EffectId) in attachAuxEffect_l() argument
3942 if (EffectId == 0) { in attachAuxEffect_l()
3946 sp<IAfEffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect_l()
3949 track->setAuxBuffer(EffectId, (int32_t *)effect->inBuffer()); in attachAuxEffect_l()