Lines Matching refs:playbackThread

497             PlaybackThread *playbackThread = (PlaybackThread *)thread.get();  in destroy()  local
498 wasActive = playbackThread->destroyTrack_l(this); in destroy()
755 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in start() local
760 mObservedUnderruns = playbackThread->getFastTrackUnderruns(mFastIndex); in start()
762 status = playbackThread->addTrack_l(this); in start()
805 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in stop() local
806 if (playbackThread->mActiveTracks.indexOf(this) < 0) { in stop()
821 playbackThread->broadcast_l(); in stop()
823 playbackThread); in stop()
834 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in pause() local
850 playbackThread->broadcast_l(); in pause()
865 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in flush() local
870 if (playbackThread->mActiveTracks.indexOf(this) < 0) { in flush()
908 if (playbackThread->mActiveTracks.indexOf(this) < 0) { in flush()
915 playbackThread->broadcast_l(); in flush()
1031 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in getTimestamp() local
1032 return playbackThread->getTimestamp_l(timestamp); in getTimestamp()
1040 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in attachAuxEffect() local
1047 if (EffectId != 0 && srcThread != 0 && playbackThread != srcThread.get()) { in attachAuxEffect()
1048 Mutex::Autolock _dl(playbackThread->mLock); in attachAuxEffect()
1060 status = playbackThread->addEffect_l(effect); in attachAuxEffect()
1084 status = playbackThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
1283 PlaybackThread *playbackThread, in OutputTrack() argument
1290 : Track(playbackThread, NULL, AUDIO_STREAM_PATCH, in OutputTrack()
1301 playbackThread->mTracks.add(this);
1314 ALOGW("Error creating output track on thread %p", playbackThread);
1499 AudioFlinger::PlaybackThread::PatchTrack::PatchTrack(PlaybackThread *playbackThread, in PatchTrack() argument
1508 : Track(playbackThread, NULL, streamType, in PatchTrack()
1515 uint64_t mixBufferNs = ((uint64_t)2 * playbackThread->frameCount() * 1000000000) /
1516 playbackThread->sampleRate();