Created
February 22, 2021 22:49
-
-
Save cubimon/aacfc856138d55af74c658be4de0a026 to your computer and use it in GitHub Desktop.
Pulseaudio virtual microphone/loopback output -> input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function virtual-mic { | |
mic=`pacmd info | grep "Default source" | cut -d":" -f2 | xargs` | |
echo "using ${mic}" | |
pactl load-module module-null-sink sink_name=Loopback sink_properties=device.description="Loopback" | |
pactl load-module module-loopback source=${mic} sink=Loopback | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment