Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DPlaybackTracks.h61 status_t attachAuxEffect(int EffectId);
62 void setAuxBuffer(int EffectId, int32_t *buffer);
DTracks.cpp307 status_t AudioFlinger::TrackHandle::attachAuxEffect(int EffectId) in attachAuxEffect() argument
309 return mTrack->attachAuxEffect(EffectId); in attachAuxEffect()
943 status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId) in attachAuxEffect() argument
953 sp<PlaybackThread> srcThread = af->getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect()
955 if (EffectId != 0 && srcThread != 0 && playbackThread != srcThread.get()) { in attachAuxEffect()
963 sp<EffectModule> effect = chain->getEffectFromId_l(EffectId); in attachAuxEffect()
992 status = playbackThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
997 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer() argument
999 mAuxEffectId = EffectId; in setAuxBuffer()
DThreads.h570 int EffectId);
572 int EffectId);
DAudioFlinger.h564 sp<PlaybackThread> getEffectThread_l(int sessionId, int EffectId);
DThreads.cpp2353 const sp<AudioFlinger::PlaybackThread::Track> track, int EffectId) in attachAuxEffect() argument
2356 return attachAuxEffect_l(track, EffectId); in attachAuxEffect()
2360 const sp<AudioFlinger::PlaybackThread::Track> track, int EffectId) in attachAuxEffect_l() argument
2364 if (EffectId == 0) { in attachAuxEffect_l()
2368 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect_l()
2371 track->setAuxBuffer(EffectId, (int32_t *)effect->inBuffer()); in attachAuxEffect_l()
DAudioFlinger.cpp1284 sp<AudioFlinger::PlaybackThread> AudioFlinger::getEffectThread_l(int sessionId, int EffectId) in getEffectThread_l() argument
1289 if (mPlaybackThreads.valueAt(i)->getEffect(sessionId, EffectId) != 0) { in getEffectThread_l()