AudioDrainIncomplete

data class AudioDrainIncomplete(val detail: String) : PlaybackWarning

The device never reported its buffer empty at the end of the media, so the drain was bounded out.

What that means in practice is a device that went away while it still held sound: unplugged, taken by another application, or a session interrupted. Playback is over either way, and the last fraction of a second may not have been heard. Polling a lost device for ever instead is how a player ends up never finishing a file.

Constructors

Link copied to clipboard
constructor(detail: String)

Properties

Link copied to clipboard
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

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.