Lines Matching refs:playbackThread

486             PlaybackThread *playbackThread = (PlaybackThread *)thread.get();  in destroy()  local
487 wasActive = playbackThread->destroyTrack_l(this); in destroy()
691 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in start() local
696 mObservedUnderruns = playbackThread->getFastTrackUnderruns(mFastIndex); in start()
698 status = playbackThread->addTrack_l(this); in start()
734 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in stop() local
735 if (playbackThread->mActiveTracks.indexOf(this) < 0) { in stop()
747 playbackThread->broadcast_l(); in stop()
749 playbackThread); in stop()
760 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in pause() local
776 playbackThread->broadcast_l(); in pause()
791 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in flush() local
832 if (playbackThread->mActiveTracks.indexOf(this) < 0) { in flush()
839 playbackThread->broadcast_l(); in flush()
894 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in getTimestamp() local
898 if (!playbackThread->mLatchQValid) { in getTimestamp()
905 uint32_t unpresentedFrames = ((double) playbackThread->mLatchQ.mUnpresentedFrames * in getTimestamp()
906 sampleRate * playbackRate.mSpeed)/ playbackThread->mSampleRate; in getTimestamp()
913 ssize_t i = playbackThread->mLatchQ.mFramesReleased.indexOfKey(this); in getTimestamp()
915 playbackThread->mLatchQ.mFramesReleased[i] : in getTimestamp()
919 timestamp.mTime = playbackThread->mLatchQ.mTimestamp.mTime; in getTimestamp()
923 result = playbackThread->getTimestamp_l(timestamp); in getTimestamp()
934 PlaybackThread *playbackThread = (PlaybackThread *)thread.get(); in attachAuxEffect() local
941 if (EffectId != 0 && srcThread != 0 && playbackThread != srcThread.get()) { in attachAuxEffect()
942 Mutex::Autolock _dl(playbackThread->mLock); in attachAuxEffect()
954 status = playbackThread->addEffect_l(effect); in attachAuxEffect()
978 status = playbackThread->attachAuxEffect(this, EffectId); in attachAuxEffect()
1638 PlaybackThread *playbackThread, in OutputTrack() argument
1645 : Track(playbackThread, NULL, AUDIO_STREAM_PATCH, in OutputTrack()
1653 playbackThread->mTracks.add(this); in OutputTrack()
1666 ALOGW("Error creating output track on thread %p", playbackThread); in OutputTrack()
1823 AudioFlinger::PlaybackThread::PatchTrack::PatchTrack(PlaybackThread *playbackThread, in PatchTrack() argument
1831 : Track(playbackThread, NULL, streamType, in PatchTrack()
1836 uint64_t mixBufferNs = ((uint64_t)2 * playbackThread->frameCount() * 1000000000) / in PatchTrack()
1837 playbackThread->sampleRate(); in PatchTrack()