AudioDevice
The default playback device, fed with 32-bit float stereo frames at sampleRate by an AudioRenderer. SDL converts to whatever the hardware wants and follows changes of the default device by itself.
Open one with AudioDevice.open after Sdl.init with Subsystem.AUDIO; it starts playing at once. close it before Sdl.quit.
Threading: the renderer runs on SDL's audio thread. An exception it throws is caught there, kept for failureOrNull, and the device plays silence from then on, so a broken renderer cannot crash the process. Every other function belongs to the thread that opened the device.
Has no sample because it needs an audio device.