feat(slint): mark bit-perfect-capable devices in the output select

The output-device select now shows an accent BP marker on devices
able to deliver bit-perfect audio: every ALSA hw card, hardware nodes
on PipeWire, none under PulseAudio. QbzSelect gained an optional
parallel badges array so other selects are unaffected.

cc
This commit is contained in:
vicrodh committed 2026-05-18 23:40:11 -06:00
1 parent eb4b7bebea
commit 9cf2c5588f
4 files changed
+51 -2

No files matched your search

@@ -96,6 +96,7 @@ export component AudioSettings inherits VerticalLayout {
QbzSelect {
menu-width: 300px;
options: SettingsState.devices;
badges: SettingsState.device-bp;
current-index: SettingsState.device-index;
selected(i) => {
SettingsState.device-index = i;