Searched refs:getPlaybackHeadPosition (Results 1 – 2 of 2) sorted by relevance
279 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 AudioTrackPositionTracker509 long rawPlaybackHeadPosition = 0xFFFFFFFFL & audioTrack.getPlaybackHeadPosition(); in getPlaybackHeadPosition()
193 if (mAudioTrack.getPlaybackHeadPosition() > (8 * mFramesPerBlock)) { in update()