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.cpp342 status_t AudioFlinger::TrackHandle::attachAuxEffect(int EffectId) in attachAuxEffect() argument
344 return mTrack->attachAuxEffect(EffectId); in attachAuxEffect()
1281 status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId) in attachAuxEffect() argument
1291 status_t status = af->moveAuxEffectToIo(EffectId, dstThread, &srcThread); in attachAuxEffect()
1293 if (EffectId != 0 && status == NO_ERROR) { in attachAuxEffect()
1294 status = dstThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
1296 AudioSystem::moveEffectsToIo(std::vector<int>(EffectId), dstThread->id()); in attachAuxEffect()
1301 af->moveAuxEffectToIo(EffectId, srcThread, &dstThread); in attachAuxEffect()
1306 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer() argument
1308 mAuxEffectId = EffectId; in setAuxBuffer()
DThreads.h897 int EffectId);
899 int EffectId);
DAudioFlinger.cpp3797 status_t AudioFlinger::moveAuxEffectToIo(int EffectId, in moveAuxEffectToIo() argument
3804 static_cast<PlaybackThread *>(getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId).get()); in moveAuxEffectToIo()
3806 if (EffectId != 0 && thread != 0 && dstThread != thread.get()) { in moveAuxEffectToIo()
3815 sp<EffectModule> effect = srcChain->getEffectFromId_l(EffectId); in moveAuxEffectToIo()
DAudioFlinger.h746 status_t moveAuxEffectToIo(int EffectId,
DThreads.cpp3353 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect() argument
3356 return attachAuxEffect_l(track, EffectId); in attachAuxEffect()
3360 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect_l() argument
3364 if (EffectId == 0) { in attachAuxEffect_l()
3368 sp<EffectModule> effect = getEffect_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect_l()
3371 track->setAuxBuffer(EffectId, (int32_t *)effect->inBuffer()); in attachAuxEffect_l()