- isEnded
Returns whether #playToEndOfStream has been called and all buffers have been
processed.
- playToEndOfStream
Processes any remaining data. #isEnded() will return true when no data remains.
- release
Releases any resources associated with this instance.
- configure
Configures (or reconfigures) the sink.
- disableTunneling
Disables tunneling. If tunneling was previously enabled then the sink is reset
and any audio session
- enableTunnelingV21
Enables tunneling, if possible. The sink is reset if tunneling was previously
disabled or if the aud
- getCurrentPositionUs
Returns the playback position in the stream starting at zero, in microseconds,
or #CURRENT_POSITION_
- handleBuffer
Attempts to process data from a ByteBuffer, starting from its current position
and ending at its lim
- handleDiscontinuity
Signals to the sink that the next buffer may be discontinuous with the previous
buffer.
- hasPendingData
Returns whether the sink has data pending that has not been consumed yet.
- pause
Pauses playback.
- play
Starts or resumes consuming audio if initialized.