Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DPlaybackTracks.h110 status_t attachAuxEffect(int EffectId);
111 void setAuxBuffer(int EffectId, int32_t *buffer);
DTracks.cpp345 status_t AudioFlinger::TrackHandle::attachAuxEffect(int EffectId) in attachAuxEffect() argument
347 return mTrack->attachAuxEffect(EffectId); in attachAuxEffect()
1262 status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId) in attachAuxEffect() argument
1272 status_t status = af->moveAuxEffectToIo(EffectId, dstThread, &srcThread); in attachAuxEffect()
1274 if (EffectId != 0 && status == NO_ERROR) { in attachAuxEffect()
1275 status = dstThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
1277 AudioSystem::moveEffectsToIo(std::vector<int>(EffectId), dstThread->id()); in attachAuxEffect()
1282 af->moveAuxEffectToIo(EffectId, srcThread, &dstThread); in attachAuxEffect()
1287 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer() argument
1289 mAuxEffectId = EffectId; in setAuxBuffer()
DThreads.h877 int EffectId);
879 int EffectId);
DAudioFlinger.cpp3749 status_t AudioFlinger::moveAuxEffectToIo(int EffectId, in moveAuxEffectToIo() argument
3756 static_cast<PlaybackThread *>(getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId).get()); in moveAuxEffectToIo()
3758 if (EffectId != 0 && thread != 0 && dstThread != thread.get()) { in moveAuxEffectToIo()
3767 sp<EffectModule> effect = srcChain->getEffectFromId_l(EffectId); in moveAuxEffectToIo()
DAudioFlinger.h733 status_t moveAuxEffectToIo(int EffectId,
DThreads.cpp3239 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect() argument
3242 return attachAuxEffect_l(track, EffectId); in attachAuxEffect()
3246 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect_l() argument
3250 if (EffectId == 0) { in attachAuxEffect_l()
3254 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect_l()
3257 track->setAuxBuffer(EffectId, (int32_t *)effect->inBuffer()); in attachAuxEffect_l()