Lines Matching refs:playbackThread
1760 PlaybackThread *playbackThread = checkPlaybackThread_l(output); in getRenderPosition() local
1761 if (playbackThread != NULL) { in getRenderPosition()
1762 return playbackThread->getRenderPosition(halFrames, dspFrames); in getRenderPosition()
2572 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in openOutput() local
2573 *latencyMs = playbackThread->latency(); in openOutput()
2576 playbackThread->ioConfigChanged(AUDIO_OUTPUT_OPENED); in openOutput()
2583 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
2630 sp<PlaybackThread> playbackThread; in closeOutput_nonvirtual() local
2634 playbackThread = checkPlaybackThread_l(output); in closeOutput_nonvirtual()
2635 if (playbackThread != NULL) { in closeOutput_nonvirtual()
2638 dumpToThreadLog_l(playbackThread); in closeOutput_nonvirtual()
2640 if (playbackThread->type() == ThreadBase::MIXER) { in closeOutput_nonvirtual()
2645 dupThread->removeOutputTrack((MixerThread *)playbackThread.get()); in closeOutput_nonvirtual()
2658 Mutex::Autolock _sl(playbackThread->mLock); in closeOutput_nonvirtual()
2659 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l(); in closeOutput_nonvirtual()
2661 moveEffectChain_l(effectChains[i]->sessionId(), playbackThread.get(), in closeOutput_nonvirtual()
2683 if (playbackThread != 0) { in closeOutput_nonvirtual()
2684 playbackThread->exit(); in closeOutput_nonvirtual()
2685 if (!playbackThread->isDuplicating()) { in closeOutput_nonvirtual()
2686 closeOutputFinish(playbackThread); in closeOutput_nonvirtual()