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:
mxandClaude Opus 5.5 committed 2026-10-17 21:40:57 +02:00
1 parent 11bdc4c751
commit 72a21c9363
7 files changed
+29 -77

No files matched your search

+3 -2
View File
@@ -10,8 +10,9 @@ Singleton {
readonly property var source: backend.defaultAudioSource
readonly property var outputs: backend.nodes.values.filter(n => n.audio && n.isSink && !n.isStream)
readonly property var inputs: backend.nodes.values.filter(n => n.audio && !n.isSink && !n.isStream)
// App playback streams, e.g. the players EasyEffects processes.
readonly property var streams: backend.nodes.values.filter(n => n.audio && n.isStream && !n.isSink)
// App playback streams, e.g. the players EasyEffects processes. Quickshell
// marks playback streams (Stream/Output/Audio) as sinks.
readonly property var streams: backend.nodes.values.filter(n => n.audio && n.isStream && n.isSink)
readonly property bool available: backend.ready
// Views listing streams hold a Demand on this, so their volumes are only
// tracked while shown.