AudioUnderrun

data class AudioUnderrun(val totalSoFar: Long) : PlaybackWarning

The audio device ran out of data.

Emitted from the stats tick on the RISING EDGE of the player-level underrun total, so a reopen cannot silently re-baseline it, and totalSoFar is that whole-player total rather than this session's. The same number is in PlaybackStats.audioUnderruns. Note the sink's own AudioSinkEvent.Underrun is a different path and surfaces as AudioDeviceUnderrun.

Constructors

Link copied to clipboard
constructor(totalSoFar: Long)

Properties

Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String
Link copied to clipboard

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.