OpenedOutput

class OpenedOutput(val output: PcmOutput, val format: WriteFormat, val request: StreamRequest, val selected: SelectedOutput? = null)

An output the sink writes to: what the library returned, and what the sink needs to know about it.

Constructors

Link copied to clipboard
constructor(output: PcmOutput, format: WriteFormat, request: StreamRequest, selected: SelectedOutput? = null)

Properties

Link copied to clipboard
var failure: DacException?

Set when the DAC is lost or the stream failed. A failed output is closed and never reused.

Link copied to clipboard
val format: WriteFormat

The layout to write, and the unit of the position counters.

Link copied to clipboard
val output: PcmOutput
Link copied to clipboard
val request: StreamRequest

What the output was opened for.

Link copied to clipboard
val selected: SelectedOutput?

The library's own handle, for the status display; null for a fake in a test.