I want to create a custom sink via a bash script and merge my Firefox output audio and microphone into it.
To create the sink I use
pactl load-module module-null-sink sink_name=stream_sink
but I can't wire up the connections inside the script. When I use QjackCtl I can do this:
and it works fine. How can I do this connection using a bash script?
I've tried
pactl load-module module-loopback source="RZ19-0229 Gaming Microphone Analog Stereo" sink=stream_sink
pactl load-module module-loopback source="Firefox" sink=stream_sink
but it doesn't work.