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:
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;
|
||||
|
||||
Reference in new issue
Block a user