fix(playback): surface stream errors as toasts, sandbox-aware for ALSA
The player has recorded a user-readable message on stream-open failure since the Tauri era, but the drain lived in Tauri's polling loop and was never ported to the Slint poll loop — record_stream_error had ZERO consumers, so ALSA Direct/exclusive failures showed as a bar frozen at 0:00 with no explanation (#508, #534, #500). Drain the message each tick and toast it. When running inside Flatpak/Snap and the failure is ALSA-shaped, explain that direct hw: access is blocked by the sandbox and point at PipeWire/System Default instead of showing the raw error. 2 new msgids translated in all 7 locales. cc
This commit is contained in:
8 files changed
+67
No files matched your search
@@ -103,3 +103,9 @@ msgstr "Renderer setting reverted to Auto — the previous start didn't finish"
|
||||
|
||||
msgid "Renderer switched to GPU (compatibility) — the GPU renderer failed to start"
|
||||
msgstr "Renderer switched to GPU (compatibility) — the GPU renderer failed to start"
|
||||
|
||||
msgid "Audio output error"
|
||||
msgstr "Audio output error"
|
||||
|
||||
msgid "Direct ALSA device access is blocked inside Flatpak/Snap — switch the audio backend to PipeWire or System Default"
|
||||
msgstr "Direct ALSA device access is blocked inside Flatpak/Snap — switch the audio backend to PipeWire or System Default"
|
||||
Reference in new issue
Block a user