Search guides and the APICtrl K
  1. API reference
  2. System, devices and network

audio_alsa.h

Linux audio output (ALSA, dlopened).

#include <sonore/audio_alsa.h>
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.

↑↓ to move↵ to openEvery public name in the headers, and every guide