Home
last modified time | relevance | path

Searched refs:playbackThread (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audioflinger/
DTracks.cpp897 auto* const playbackThread = thread->asIAfPlaybackThread().get(); in destroy() local
898 wasActive = playbackThread->destroyTrack_l(this); in destroy()
1231 auto* const playbackThread = thread->asIAfPlaybackThread().get(); in start() local
1244 playbackThread->framesWritten()); in start()
1251 mObservedUnderruns = playbackThread->getFastTrackUnderruns(mFastIndex); in start()
1253 status = playbackThread->addTrack_l(this); in start()
1330 auto* const playbackThread = thread->asIAfPlaybackThread().get(); in stop() local
1331 if (!playbackThread->isTrackActive(this)) { in stop()
1348 playbackThread->broadcast_l(); in stop()
1364 auto* const playbackThread = thread->asIAfPlaybackThread().get(); in pause() local
[all …]
DAudioFlinger.cpp1738 IAfPlaybackThread* const playbackThread = checkPlaybackThread_l(stream); in updateDownStreamPatches_l() local
1739 if (playbackThread == nullptr || !playbackThread->isMsdDevice()) { in updateDownStreamPatches_l()
1742 playbackThread->setDownStreamPatch(patch); in updateDownStreamPatches_l()
1743 playbackThread->sendIoConfigEvent(AUDIO_OUTPUT_CONFIG_CHANGED); in updateDownStreamPatches_l()
2076 IAfPlaybackThread* const playbackThread = checkPlaybackThread_l(output); in getRenderPosition() local
2077 if (playbackThread != NULL) { in getRenderPosition()
2078 return playbackThread->getRenderPosition(halFrames, dspFrames); in getRenderPosition()
3045 const auto playbackThread = thread->asIAfPlaybackThread(); in openOutput() local
3046 latencyMs = playbackThread->latency(); in openOutput()
3049 playbackThread->ioConfigChanged_l(AUDIO_OUTPUT_OPENED); in openOutput()
[all …]
DIAfTrack.h440 IAfPlaybackThread* playbackThread,
572 IAfPlaybackThread* playbackThread,
DPatchPanel.cpp75 } else if (const auto playbackThread = thread->asIAfPlaybackThread(); in closeThreadInternal_l() local
76 playbackThread) { in closeThreadInternal_l()
77 mAfPatchPanelCallback->closeThreadInternal_l(playbackThread); in closeThreadInternal_l()
DPlaybackTracks.h490 PatchTrack(IAfPlaybackThread* playbackThread,
DThreads.cpp3090 const sp<PlaybackThread> playbackThread = weakPointerThis.promote(); in onCodecFormatChanged() local
3091 if (playbackThread == nullptr) { in onCodecFormatChanged()
7208 const wp<PlaybackThread>& playbackThread) in AsyncCallbackThread() argument
7210 mPlaybackThread(playbackThread), in AsyncCallbackThread()
7251 const sp<PlaybackThread> playbackThread = mPlaybackThread.promote(); in threadLoop() local
7252 if (playbackThread != 0) { in threadLoop()
7254 playbackThread->resetWriteBlocked(writeAckSequence >> 1); in threadLoop()
7257 playbackThread->resetDraining(drainSequence >> 1); in threadLoop()
7260 playbackThread->onAsyncError(asyncError == ASYNC_ERROR_HARD); in threadLoop()
7885 IAfPlaybackThread* const playbackThread = thread->asIAfPlaybackThread().get(); in outputsReady() local
[all …]
DThreads.h1833 explicit AsyncCallbackThread(const wp<PlaybackThread>& playbackThread);
/frameworks/av/media/libaudioclient/tests/
Daudioeffect_analyser.cpp191 std::thread playbackThread(&PlaybackEnv::play, &argsP); in computeFilterGainsAtTones() local
194 playbackThread.join(); in computeFilterGainsAtTones()