Lines Matching refs:playbackThread
1738 IAfPlaybackThread* const playbackThread = checkPlaybackThread_l(stream); in updateDownStreamPatches_l() local
1739 if (playbackThread == nullptr || !playbackThread->isMsdDevice()) { in updateDownStreamPatches_l()
1742 playbackThread->setDownStreamPatch(patch); in updateDownStreamPatches_l()
1743 playbackThread->sendIoConfigEvent(AUDIO_OUTPUT_CONFIG_CHANGED); in updateDownStreamPatches_l()
2076 IAfPlaybackThread* const playbackThread = checkPlaybackThread_l(output); in getRenderPosition() local
2077 if (playbackThread != NULL) { in getRenderPosition()
2078 return playbackThread->getRenderPosition(halFrames, dspFrames); in getRenderPosition()
3045 const auto playbackThread = thread->asIAfPlaybackThread(); in openOutput() local
3046 latencyMs = playbackThread->latency(); in openOutput()
3049 playbackThread->ioConfigChanged_l(AUDIO_OUTPUT_OPENED); in openOutput()
3056 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
3109 sp<IAfPlaybackThread> playbackThread; in closeOutput_nonvirtual() local
3113 playbackThread = checkPlaybackThread_l(output); in closeOutput_nonvirtual()
3114 if (playbackThread != NULL) { in closeOutput_nonvirtual()
3117 dumpToThreadLog_l(playbackThread); in closeOutput_nonvirtual()
3119 if (playbackThread->type() == IAfThreadBase::MIXER) { in closeOutput_nonvirtual()
3124 dupThread->removeOutputTrack(playbackThread.get()); in closeOutput_nonvirtual()
3134 if (playbackThread->type() == IAfThreadBase::MIXER in closeOutput_nonvirtual()
3135 || playbackThread->type() == IAfThreadBase::OFFLOAD in closeOutput_nonvirtual()
3136 || playbackThread->type() == IAfThreadBase::SPATIALIZER) { in closeOutput_nonvirtual()
3139 audio_utils::scoped_lock sl(playbackThread->mutex()); in closeOutput_nonvirtual()
3140 mixChain = playbackThread->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in closeOutput_nonvirtual()
3143 playbackThread->removeEffectChain_l(mixChain); in closeOutput_nonvirtual()
3157 audio_utils::scoped_lock sl(dstThread->mutex(), playbackThread->mutex()); in closeOutput_nonvirtual()
3158 Vector<sp<IAfEffectChain>> effectChains = playbackThread->getEffectChains_l(); in closeOutput_nonvirtual()
3160 moveEffectChain_ll(effectChains[i]->sessionId(), playbackThread.get(), in closeOutput_nonvirtual()
3181 if (playbackThread != 0) { in closeOutput_nonvirtual()
3182 playbackThread->exit(); in closeOutput_nonvirtual()
3183 if (!playbackThread->isDuplicating()) { in closeOutput_nonvirtual()
3184 closeOutputFinish(playbackThread); in closeOutput_nonvirtual()