Commit ae9fb0a5 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Show "muted" icon for dummy output

Dummy output cannot play any sound

Differential Revision: https://phabricator.kde.org/D14156
parent e2287ccc
......@@ -164,6 +164,14 @@ Item {
}
var icon = Icon.formFactorIcon(defaultSink.formFactor);
if (!icon) {
// Show "muted" icon for Dummy output
// DEFAULT_SINK_NAME in module-always-sink.c
if (defaultSink.name === "auto_null") {
icon = "audio-volume-muted";
}
}
if (!icon) {
icon = Icon.name(defaultSink.volume, defaultSink.muted);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment