feat(audio-spectrum): replaced cava process by our pipewire implementation via noctalia-qs

This commit is contained in:
Lemmy
2026-03-14 09:29:35 -04:00
4 changed files with 18 additions and 174 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ Item {
property real minimumSignalValue: 0.05 // Default to 5% of height
// Pre compute horizontal mirroring
readonly property int valuesCount: (values && Array.isArray(values)) ? values.length : 0
readonly property int valuesCount: (values && values.length !== undefined) ? values.length : 0
readonly property int totalBars: valuesCount * 2
readonly property real barSlotSize: totalBars > 0 ? (vertical ? height : width) / totalBars : 0
readonly property bool highQuality: (Settings.data.audio.visualizerType === "low") ? false : true
+1 -1
View File
@@ -14,7 +14,7 @@ Item {
property real minimumSignalValue: 0.05 // Default to 5% of height
// Pre-compute mirroring
readonly property int valuesCount: (values && Array.isArray(values)) ? values.length : 0
readonly property int valuesCount: (values && values.length !== undefined) ? values.length : 0
readonly property int totalBars: valuesCount * 2
readonly property real barSlotSize: totalBars > 0 ? (vertical ? height : width) / totalBars : 0
readonly property bool highQuality: (Settings.data.audio.visualizerType === "low") ? false : true
+1 -1
View File
@@ -14,7 +14,7 @@ Item {
property bool showMinimumSignal: false
property real minimumSignalValue: 0.05 // Default to 5% of height
readonly property int valuesCount: (values && Array.isArray(values)) ? values.length : 0
readonly property int valuesCount: (values && values.length !== undefined) ? values.length : 0
readonly property bool hasData: valuesCount >= 2
// Data texture: one pixel per value, R channel = amplitude