From 501dc534acbac707998020343bca7a2af3c635ca Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 15 Oct 2023 11:52:03 +0530 Subject: setting default mic in virtual_mic.sh --- .scripts/virtual_mic.sh | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 .scripts/virtual_mic.sh (limited to '.scripts') diff --git a/.scripts/virtual_mic.sh b/.scripts/virtual_mic.sh old mode 100644 new mode 100755 index 20d791d..a33382d --- a/.scripts/virtual_mic.sh +++ b/.scripts/virtual_mic.sh @@ -8,3 +8,6 @@ pactl load-module module-null-sink media.class=Audio/Duplex sink_name=VirtualMic pactl load-module module-loopback source="VirtualSpeaker.monitor" sink="$(pactl get-default-sink)" pactl load-module module-loopback source="$(pactl get-default-source)" sink="VirtualMicrophone" pactl load-module module-loopback source="VirtualSpeaker.monitor" sink="VirtualMicrophone" + +# set default mic +pactl set-default-source "VirtualMicrophone" -- cgit v1.2.3