on Audio Track Underrun
abstract fun onAudioTrackUnderrun(eventTime: EventTime, bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long)
Called when an audio underrun occurred.
Parameters
event Time
Contains details of the event.
buffer Size
The size of the AudioSink's buffer, in bytes.
buffer Size Ms
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.
elapsed Since Last Feed Ms
The time since the AudioSink was last fed data.
abstract fun onAudioTrackUnderrun(bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long)
Deprecated
Deprecated
Use {onAudioTrackUnderrun}