Lines Matching refs:srcThread
4736 IAfPlaybackThread* srcThread = checkPlaybackThread_l(srcIo); in moveEffects() local
4738 if (srcThread == nullptr && orphanChain == nullptr && sessionId == AUDIO_SESSION_OUTPUT_MIX) { in moveEffects()
4745 srcThread = pt.get(); in moveEffects()
4746 if (srcThread == dstThread) { in moveEffects()
4756 if (srcThread == nullptr && orphanChain == nullptr) { in moveEffects()
4766 audio_utils::scoped_lock _ll(dstThread->mutex(), srcThread->mutex()); in moveEffects()
4767 return moveEffectChain_ll(sessionId, srcThread, dstThread); in moveEffects()
4791 IAfPlaybackThread* srcThread, IAfPlaybackThread* dstThread, in moveEffectChain_ll() argument
4795 __func__, sessionId, srcThread, dstThread, in moveEffectChain_ll()
4797 ALOG_ASSERT((srcThread != nullptr) != (srcChain != nullptr), in moveEffectChain_ll()
4801 srcChain != nullptr ? srcChain : srcThread->getEffectChain_l(sessionId); in moveEffectChain_ll()
4804 __func__, sessionId, srcThread); in moveEffectChain_ll()
4821 if (srcThread != nullptr) { in moveEffectChain_ll()
4822 srcThread->removeEffectChain_l(chain); in moveEffectChain_ll()
4833 if (srcThread != nullptr) { in moveEffectChain_ll()
4834 srcThread->removeEffect_l(effect); in moveEffectChain_ll()
4865 if (srcThread != nullptr && srcThread->addEffect_ll(effect) == NO_ERROR) { in moveEffectChain_ll()
4900 (srcThread != nullptr ? "srcThread" : "srcChain"), in moveEffectChain_ll()
4901 (srcThread != nullptr ? (void*) srcThread : (void*) srcChain), dstThread, in moveEffectChain_ll()
4906 __func__, sessionId, (srcThread != nullptr ? "srcThread" : "srcChain"), in moveEffectChain_ll()
4907 (srcThread != nullptr ? (void*) srcThread : (void*) srcChain), dstThread, in moveEffectChain_ll()
4917 IAfRecordThread* srcThread, IAfRecordThread* dstThread) in moveEffectChain_ll() argument
4920 if (srcThread != 0) { in moveEffectChain_ll()
4921 const Vector<sp<IAfEffectChain>> effectChains = srcThread->getEffectChains_l(); in moveEffectChain_ll()
4929 srcThread->id()); in moveEffectChain_ll()
4935 srcThread->id()); in moveEffectChain_ll()
4936 srcThread->removeEffectChain_l(chain); in moveEffectChain_ll()
4956 const sp<IAfPlaybackThread>& dstThread, sp<IAfPlaybackThread>* srcThread) in moveAuxEffectToIo() argument
4997 if (status == NO_ERROR && srcThread != nullptr) { in moveAuxEffectToIo()
4998 *srcThread = thread; in moveAuxEffectToIo()