Home
last modified time | relevance | path

Searched refs:getPlaybackHeadPosition (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DAudioTrackPositionTracker.java279 if (playState == PLAYSTATE_STOPPED && getPlaybackHeadPosition() == 0) { in mayHandleBuffer()
303 int bytesPending = (int) (writtenBytes - (getPlaybackHeadPosition() * outputPcmFrameSize)); in getAvailableBufferSize()
322 stopPlaybackHeadPosition = getPlaybackHeadPosition(); in handleEndOfStream()
334 return writtenFrames > getPlaybackHeadPosition() in hasPendingData()
470 && getPlaybackHeadPosition() == 0; in forceHasPendingData()
483 return framesToDurationUs(getPlaybackHeadPosition()); in getPlaybackHeadPositionUs()
494 private long getPlaybackHeadPosition() { in getPlaybackHeadPosition() method in AudioTrackPositionTracker
509 long rawPlaybackHeadPosition = 0xFFFFFFFFL & audioTrack.getPlaybackHeadPosition(); in getPlaybackHeadPosition()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DAudioLatencyTuner.java193 if (mAudioTrack.getPlaybackHeadPosition() > (8 * mFramesPerBlock)) { in update()