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
@@ -4364,3 +4364,9 @@ msgstr "Réglage du moteur de rendu revenu sur Automatique — le démarrage pr
|
||||
|
||||
msgid "Renderer switched to GPU (compatibility) — the GPU renderer failed to start"
|
||||
msgstr "Moteur de rendu basculé sur GPU (compatibilité) — le rendu GPU n'a pas pu démarrer"
|
||||
|
||||
msgid "Audio output error"
|
||||
msgstr "Erreur de sortie audio"
|
||||
|
||||
msgid "Direct ALSA device access is blocked inside Flatpak/Snap — switch the audio backend to PipeWire or System Default"
|
||||
msgstr "L'accès direct aux périphériques ALSA est bloqué dans Flatpak/Snap — passez le backend audio sur PipeWire ou la sortie système"
|
||||
Reference in new issue
Block a user