System.Audio
Sound output: AudioOutput plays samples that the program makes (a synthesizer, a music player, the sounds of a
game). Windows (waveOut), Linux (ALSA; with PulseAudio or PipeWire through their ALSA plugin) and the browser (Web
Audio, –backend wasm). The program writes the samples ahead of time into a buffer of the output and refills it
regularly, for example once a frame of a System.Graphics.Window (with System.Ui.Ui.RequestFrame); no thread is
needed.
| Type | Description |
|---|---|
AudioOutput |
The sound output: signed 16-bit samples at a sample rate, with 1 (mono) or 2 (stereo, left and right interleaved) channels. |
AudioError |
The errors of opening an AudioOutput. |