Lines Matching refs:playbackThread
1718 PlaybackThread *playbackThread = checkPlaybackThread_l(output); in getRenderPosition() local
1719 if (playbackThread != NULL) { in getRenderPosition()
1720 return playbackThread->getRenderPosition(halFrames, dspFrames); in getRenderPosition()
2526 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in openOutput() local
2527 *latencyMs = playbackThread->latency(); in openOutput()
2530 playbackThread->ioConfigChanged(AUDIO_OUTPUT_OPENED); in openOutput()
2537 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
2584 sp<PlaybackThread> playbackThread; in closeOutput_nonvirtual() local
2588 playbackThread = checkPlaybackThread_l(output); in closeOutput_nonvirtual()
2589 if (playbackThread != NULL) { in closeOutput_nonvirtual()
2592 dumpToThreadLog_l(playbackThread); in closeOutput_nonvirtual()
2594 if (playbackThread->type() == ThreadBase::MIXER) { in closeOutput_nonvirtual()
2599 dupThread->removeOutputTrack((MixerThread *)playbackThread.get()); in closeOutput_nonvirtual()
2612 Mutex::Autolock _sl(playbackThread->mLock); in closeOutput_nonvirtual()
2613 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l(); in closeOutput_nonvirtual()
2615 moveEffectChain_l(effectChains[i]->sessionId(), playbackThread.get(), in closeOutput_nonvirtual()
2637 if (playbackThread != 0) { in closeOutput_nonvirtual()
2638 playbackThread->exit(); in closeOutput_nonvirtual()
2639 if (!playbackThread->isDuplicating()) { in closeOutput_nonvirtual()
2640 closeOutputFinish(playbackThread); in closeOutput_nonvirtual()