Lines Matching refs:playbackThread
1430 PlaybackThread *playbackThread = checkPlaybackThread_l(output); in getRenderPosition() local
1431 if (playbackThread != NULL) { in getRenderPosition()
1432 return playbackThread->getRenderPosition(halFrames, dspFrames); in getRenderPosition()
2147 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in openOutput() local
2148 *latencyMs = playbackThread->latency(); in openOutput()
2151 playbackThread->ioConfigChanged(AUDIO_OUTPUT_OPENED); in openOutput()
2156 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
2204 sp<PlaybackThread> playbackThread; in closeOutput_nonvirtual() local
2208 playbackThread = checkPlaybackThread_l(output); in closeOutput_nonvirtual()
2209 if (playbackThread != NULL) { in closeOutput_nonvirtual()
2212 if (playbackThread->type() == ThreadBase::MIXER) { in closeOutput_nonvirtual()
2217 dupThread->removeOutputTrack((MixerThread *)playbackThread.get()); in closeOutput_nonvirtual()
2230 Mutex::Autolock _sl(playbackThread->mLock); in closeOutput_nonvirtual()
2231 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l(); in closeOutput_nonvirtual()
2233 moveEffectChain_l(effectChains[i]->sessionId(), playbackThread.get(), in closeOutput_nonvirtual()
2253 if (playbackThread != 0) { in closeOutput_nonvirtual()
2254 playbackThread->exit(); in closeOutput_nonvirtual()
2255 if (!playbackThread->isDuplicating()) { in closeOutput_nonvirtual()
2256 closeOutputFinish(playbackThread); in closeOutput_nonvirtual()