build(flatpak): --device=all for direct /dev/snd access

Mirror the Flathub manifest: replace --device=dri with --device=all so the
sandbox can reach /dev/snd directly, enabling bit-perfect / exclusive ALSA
output like native installs. Flatpak has no granular --device=snd; /dev/snd
is only exposed via --device=all (same as Strawberry, mpv, and other
bit-perfect audio apps), which already includes --device=dri (GPU) — so the
separate dri entry is dropped. Reduces PipeWire/audio friction in the
Flatpak build.

cc
This commit is contained in:
vicrodh committed 2026-05-31 17:42:10 -06:00
1 parent d1ebf8ea1c
commit f98d92d8b6
1 file changed
+7 -1
+7 -1
View File
@@ -13,7 +13,13 @@ finish-args:
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --device=dri
# Direct sound-device access (/dev/snd) for bit-perfect / exclusive
# ALSA output, matching native installs. Flatpak has no granular
# --device=snd; /dev/snd is only exposed via --device=all (same as
# Strawberry, mpv, and other bit-perfect audio apps). --device=all
# includes --device=dri (GPU), so the separate dri entry is dropped.
- --device=all
# Native PipeWire access
- --filesystem=xdg-run/pipewire-0:ro