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:
1 file changed
+7
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user