audio_alsa.h
Linux audio output (ALSA, dlopened).
#include <sonore/audio_alsa.h>- 1type
- Guides: Platforms and formats
On this page
Design notes
Same policy as the GTK webview: libasound is resolved at RUNTIME, so the SDK builds with no ALSA dev package and a machine without sound (CI, WSL) fails gracefully with a named reason instead of failing to build or crashing.
The stream is plain blocking writei on "default" at the device's preference: PulseAudio/PipeWire sit behind that PCM on every desktop distro, so this is the path that actually reaches speakers.
Types 1
No comment on this one in the header yet; the source says the rest.