NativeRingHandoff

class NativeRingHandoff(val format: AudioFormat, val ring: NativeRingAddress)

What NativeRingAudioSink.openWithRing hands back: the format the device accepted, and the C ring its callback reads.

Two fields rather than one because neither can be derived from the other honestly. The ring knows its sample rate and its channel count, but not the channel layout, and a layout guessed from a channel count is exactly the kind of fabrication defect D30 is about.

Constructors

Link copied to clipboard
constructor(format: AudioFormat, ring: NativeRingAddress)

Properties

Link copied to clipboard
Link copied to clipboard