Lines Matching defs:playbackThread
683 sp<PlaybackThread::Track> track;
757 PlaybackThread *thread = checkPlaybackThread_l(output.outputId);
766 PlaybackThread *effectThread = NULL;
770 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i);
807 PlaybackThread *secondaryThread = checkPlaybackThread_l(secondaryOutput);
837 sp patchTrack = new PlaybackThread::PatchTrack(secondaryThread,
936 PlaybackThread *thread = checkPlaybackThread_l(output);
971 PlaybackThread *thread = checkPlaybackThread_l(output);
1333 std::function<bool(const sp<PlaybackThread>&)> useThread)
1340 sp<PlaybackThread> downStream = checkPlaybackThread_l(swPatch.getPlaybackThreadHandle());
1612 PlaybackThread *playbackThread = checkPlaybackThread_l(output);
1613 if (playbackThread != NULL) {
1614 return playbackThread->getRenderPosition(halFrames, dspFrames);
2087 PlaybackThread *thread = fastPlaybackThread_l();
2094 PlaybackThread *thread = fastPlaybackThread_l();
2210 sp<PlaybackThread> thread = mPlaybackThreads.valueAt(i);
2218 [](const sp<PlaybackThread>& thread) { return thread->usesHwAvSync(); });
2256 void AudioFlinger::setAudioHwSyncForSession_l(PlaybackThread *thread, audio_session_t sessionId)
2267 [](const sp<PlaybackThread>& thread) { return thread->usesHwAvSync(); });
2340 sp<PlaybackThread> thread;
2391 PlaybackThread *playbackThread = (PlaybackThread *)thread.get();
2392 *latencyMs = playbackThread->latency();
2395 playbackThread->ioConfigChanged(AUDIO_OUTPUT_OPENED);
2400 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev;
2448 sp<PlaybackThread> playbackThread;
2452 playbackThread = checkPlaybackThread_l(output);
2453 if (playbackThread != NULL) {
2456 dumpToThreadLog_l(playbackThread);
2458 if (playbackThread->type() == ThreadBase::MIXER) {
2463 dupThread->removeOutputTrack((MixerThread *)playbackThread.get());
2472 PlaybackThread *dstThread = checkPlaybackThread_l(mPlaybackThreads.keyAt(0));
2476 Mutex::Autolock _sl(playbackThread->mLock);
2477 Vector< sp<EffectChain> > effectChains = playbackThread->getEffectChains_l();
2479 moveEffectChain_l(effectChains[i]->sessionId(), playbackThread.get(),
2501 if (playbackThread != 0) {
2502 playbackThread->exit();
2503 if (!playbackThread->isDuplicating()) {
2504 closeOutputFinish(playbackThread);
2517 void AudioFlinger::closeOutputFinish(const sp<PlaybackThread>& thread)
2525 void AudioFlinger::closeThreadInternal_l(const sp<PlaybackThread>& thread)
2535 PlaybackThread *thread = checkPlaybackThread_l(output);
2550 PlaybackThread *thread = checkPlaybackThread_l(output);
2789 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get();
2903 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i);
2997 AudioFlinger::PlaybackThread *AudioFlinger::checkPlaybackThread_l(audio_io_handle_t output) const
3005 PlaybackThread *thread = checkPlaybackThread_l(output);
3076 AudioFlinger::PlaybackThread *AudioFlinger::primaryPlaybackThread_l() const
3079 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get();
3093 PlaybackThread *thread = primaryPlaybackThread_l();
3102 AudioFlinger::PlaybackThread *AudioFlinger::fastPlaybackThread_l() const
3105 PlaybackThread *minThread = NULL;
3107 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get();
3483 PlaybackThread *srcThread = checkPlaybackThread_l(srcOutput);
3488 PlaybackThread *dstThread = checkPlaybackThread_l(dstOutput);
3518 AudioFlinger::PlaybackThread *srcThread,
3519 AudioFlinger::PlaybackThread *dstThread)
3588 const sp<PlaybackThread>& dstThread,
3589 sp<PlaybackThread> *srcThread)
3593 sp<PlaybackThread> thread =
3594 static_cast<PlaybackThread *>(getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId).get());
3661 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i);