From 038e70bb852282bb2283aa694eef22e1c8c2386e Mon Sep 17 00:00:00 2001
From: vicrodh <103399283+vicrodh@users.noreply.github.com>
Date: Mon, 19 Jan 2026 17:21:21 -0600
Subject: [PATCH] Add Flatpak bit-perfect limitation warning for PipeWire
Display warning banner in Settings when user enables DAC Passthrough
with PipeWire backend in Flatpak environment.
The warning informs users that:
- PipeWire cannot guarantee bit-perfect in Flatpak sandbox
- ALSA Direct backend is recommended for true bit-perfect audio
This addresses the fundamental limitation where Flatpak portal does
not allow control of PipeWire daemon sample rate configuration, even
with elevated permissions.
---
src/lib/components/views/SettingsView.svelte | 40 ++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/src/lib/components/views/SettingsView.svelte b/src/lib/components/views/SettingsView.svelte
index 13688009e..6fcd8949d 100644
--- a/src/lib/components/views/SettingsView.svelte
+++ b/src/lib/components/views/SettingsView.svelte
@@ -1514,6 +1514,16 @@