fix(audio): make ALSA transitions capability-aware

cx
This commit is contained in:
vicrodh committed 2026-08-28 02:58:04 -06:00
1 parent 0f69895f15
commit 2df2dafe67
16 files changed
+613 -114

No files matched your search

+2 -2
View File
@@ -141,9 +141,9 @@ Column {
}
}
SettingRow {
visible: root.doc.backendIsAlsa === true && root.doc.alsaPluginIsHw === true
visible: root.doc.backendIsAlsa === true && root.doc.alsaDirectSelected === true
label: QbzSession.tr("Hardware volume control", QbzSession.trRev)
description: QbzSession.tr("Use the ALSA mixer for volume instead of software gain.", QbzSession.trRev)
description: QbzSession.tr("Control volume through a mixer exposed by the selected ALSA device. If unavailable, direct playback stays fixed at 100%.", QbzSession.trRev)
QbzToggle {
checked: root.doc.alsaHardwareVolume === true
onToggled: function (v) { QbzBridge.settingsBool("alsa-hardware-volume", v) }