- <init>
Creates a new audio track position tracker.
- forceHasPendingData
If passthrough workarounds are enabled, pausing is implemented by forcing the
AudioTrack to underrun
- framesToDurationUs
- getAvailableBufferSize
Returns an estimate of the number of additional bytes that can be written to the
audio track's buffe
- getCurrentPositionUs
- getPlaybackHeadPosition
AudioTrack#getPlaybackHeadPosition() returns a value intended to be interpreted
as an unsigned 32 bi
- getPlaybackHeadPositionUs
- handleEndOfStream
Records the writing position at which the stream ended, so that the reported
position can continue t
- hasPendingData
Returns whether the audio track has any pending data to play out at its current
position.
- isPlaying
Returns whether the audio track is in the playing state.
- isStalled
Returns whether the track is in an invalid state and must be recreated.
- mayHandleBuffer
Checks the state of the audio track and returns whether the caller can write
data to the track. Noti