List app playback streams for per-app volume and drop device lists
Quickshell marks playback streams as sinks, so the mixer showed recording streams instead of players. Right-clicking Sound now shows only the app sliders; Microphone no longer extends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
11bdc4c751
commit
72a21c9363
7 files changed
+29
-77
No files matched your search
@@ -38,7 +38,7 @@ Item {
|
||||
property var streamNode: QtObject {
|
||||
property string name: "fixture-player"
|
||||
property string description: ""
|
||||
property bool isSink: false
|
||||
property bool isSink: true
|
||||
property bool isStream: true
|
||||
property var properties: ({
|
||||
"application.name": "Fixture player"
|
||||
@@ -48,6 +48,19 @@ Item {
|
||||
property bool muted: false
|
||||
}
|
||||
}
|
||||
property var recordingNode: QtObject {
|
||||
property string name: "fixture-recorder"
|
||||
property string description: ""
|
||||
property bool isSink: false
|
||||
property bool isStream: true
|
||||
property var properties: ({
|
||||
"application.name": "Fixture recorder"
|
||||
})
|
||||
property QtObject audio: QtObject {
|
||||
property real volume: 1
|
||||
property bool muted: false
|
||||
}
|
||||
}
|
||||
property QtObject audioBackend: QtObject {
|
||||
property bool ready: true
|
||||
property var defaultAudioSink: root.audioNode
|
||||
@@ -55,7 +68,7 @@ Item {
|
||||
property var preferredDefaultAudioSink: root.audioNode
|
||||
property var preferredDefaultAudioSource: root.audioInput
|
||||
property QtObject nodes: QtObject {
|
||||
property var values: [root.audioNode, root.audioInput, root.streamNode]
|
||||
property var values: [root.audioNode, root.audioInput, root.streamNode, root.recordingNode]
|
||||
}
|
||||
}
|
||||
property QtObject wifi: QtObject {
|
||||
@@ -271,6 +284,7 @@ Item {
|
||||
cellWidth: ShellState.controlCenterWindow.cellWidth,
|
||||
extras: ShellState.controlCenterWindow.extras,
|
||||
streamVolume: root.streamNode.audio.volume,
|
||||
streams: AudioService.streams.map(n => AudioService.streamName(n)),
|
||||
streamMuted: root.streamNode.audio.muted,
|
||||
caffeine: CaffeineService.active,
|
||||
caffeineRunning: CaffeineService.running,
|
||||
|
||||
Reference in new issue
Block a user