onAudioTrackUnderrun
abstract fun onAudioTrackUnderrun(eventTime: EventTime, bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long)
Called when an audio underrun occurred.
Parameters
eventTime
Contains details of the event.
bufferSize
The size of the AudioSink's buffer, in bytes.
bufferSizeMs
The size of the AudioSink's buffer, in milliseconds, if it is configured for PCM output. TIME_UNSET if it is configured for passthrough output, as the buffered media can have a variable bitrate so the duration may be unknown.
elapsedSinceLastFeedMs
The time since the AudioSink was last fed data.
abstract fun onAudioTrackUnderrun(bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long)
Deprecated
Deprecated
Use {onAudioTrackUnderrun}