mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +00:00
ce8d389070
On PipeWire-based distros (Debian 13, Ubuntu 22+, Gnome-on-PipeWire, and similar), cpal's default_output_device() resolves to the raw ALSA `default` alias. During early app-start that alias sometimes routes to a null sink: the stream opens without error, progress ticks run, but nothing reaches the user. Closes #234. Prefer the pipewire-alsa / pulse-alsa aliases explicitly before falling back to cpal's default, but only on Linux — macOS / Windows paths are untouched. Systems that don't expose either alias (pure ALSA, no PipeWire) fall through to the original default-device path. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>