From f98d92d8b6ded95c7c6a58f21897939fb102cf13 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 31 May 2026 17:42:10 -0600 Subject: [PATCH] build(flatpak): --device=all for direct /dev/snd access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- packaging/flatpak/com.blitzfc.qbz.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packaging/flatpak/com.blitzfc.qbz.yml b/packaging/flatpak/com.blitzfc.qbz.yml index f9b59a0cf..26917b10f 100644 --- a/packaging/flatpak/com.blitzfc.qbz.yml +++ b/packaging/flatpak/com.blitzfc.qbz.yml @@ -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