diff options
Diffstat (limited to '.scripts')
-rwxr-xr-x[-rw-r--r--] | .scripts/virtual_mic.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/virtual_mic.sh b/.scripts/virtual_mic.sh index 20d791d..a33382d 100644..100755 --- 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" |