/etc/pulse/default.pa
After editing this, pulseaudio -k
to kill the daemon. It should restart. Or
just restart the machine.
Comment out load-module module-switch-on-connect
pactl list cards pactl list sinks
This can help resolve timing issues between multiple sound cards. You need to play around with the latency_msec
value to find the sweet spot.
See also:
- https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-loopback
- https://unix.stackexchange.com/q/492716/579810
pactl load-module module-null-sink sink_name=delayed pactl load-module module-loopback latency_msec=100 source=delayed.monitor sink=alsa_output.usb-BEHRINGER_UMC204HD_192k-00.pro-output-0
I don’t think you really need the null-sink. Just route directly to the loopback module inputs.
pactl unload-module module-loopback pactl unload-module module-null-sink