From 4b9643a80229ecf0cf7e82c67124870fe95198f6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:52:18 +1000 Subject: osd: add mic volume Disabled by default --- utils/Icons.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/Icons.qml') diff --git a/utils/Icons.qml b/utils/Icons.qml index cf81d67..826ccbe 100644 --- a/utils/Icons.qml +++ b/utils/Icons.qml @@ -184,6 +184,12 @@ Singleton { return "volume_mute"; } + function getMicVolumeIcon(volume: real, isMuted: bool): string { + if (!isMuted && volume > 0) + return "mic"; + return "mic_off"; + } + function getSpecialWsIcon(name: string): string { name = name.toLowerCase().slice("special:".length); if (name === "special") -- cgit v1.2.3-freya