-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
pragma Singleton
import Quickshell
import Quickshell.Services.Pipewire
Singleton {
id: root
readonly property PwNode sink: Pipewire.defaultAudioSink
readonly property PwNode source: Pipewire.defaultAudioSource
readonly property bool muted: sink?.audio.muted
readonly property real volume: sink?.audio.volume
function setVolume(volume: real): void {
console.log(sink?.id);
if (sink?.ready && sink?.audio) {
sink.audio.muted = false;
sink.audio.volume = volume;
}
}
PwObjectTracker {
objects: [sink, source]
}
}
Given this, whenever I update the volume, I get:
DEBUG qml: 41
ERROR quickshell.service.pipewire.device: Tried to change device route props for PwDevice(0x7fd1427cd700, id=45/bound) with untracked route device 3
ID 41 is indeed by default sink... But why is it erroring with ID 45? Why is it even using it? The ID doesn't point to anything.
Metadata
Metadata
Assignees
Labels
No labels