fix(qbz-qt): live output LEDs, closer stamp, and a volume lock on ALSA direct
The LEDs only changed when the user navigated. They were published from the settings snapshot, so they refreshed when that document republished rather than when playback started — which is exactly when the backend and mode are decided, a moment after "now playing" in the log. They publish on the stream edge now, without polling and without republishing settings. The stamp itself was close but not 1:1, so it went back against shell/AudioStamp.slint, primitives/QualityBadgeFull.slint and shell/SongCard.slint line by line; the divergences in sizes, weights, spacing and the inactive LED colour are corrected. Volume is locked while the bit-perfect ALSA direct path is engaged. Software volume there is meaningless and applying it would not be bit-perfect, so the control now reads as inert rather than silently doing nothing. Slint has the same gap and no lock to copy, so this is new: the condition comes from the output state already published, and no audio behaviour changed — only the UI reflects it. cc
This commit is contained in:
8 files changed
+239
-54
No files matched your search
@@ -17,6 +17,9 @@ Item {
|
||||
|
||||
width: 200
|
||||
height: 22
|
||||
// Disabled = inert (the bit-perfect ALSA direct path locks volume).
|
||||
// `enabled` already disarms the MouseArea; this is the matching dim.
|
||||
opacity: enabled ? 1.0 : 0.3
|
||||
|
||||
readonly property int thumbSize: 16
|
||||
readonly property real travel: width - thumbSize
|
||||
|
||||
Reference in new issue
Block a user