pulseaudio
Table of Contents
:ID: 959acd5a-c6f7-4247-baf6-d8f5c7fd765a
# Configuration
/etc/pulse/default.pa
After editing this, pulseaudio -k
to kill the daemon. It should restart. Or
just restart the machine.
# Prevent switching when interface is connected
Comment out load-module module-switch-on-connect
# CLI (pactl)
# Get information
# sinks and cards
pactl list cards pactl list sinks
# Delay (module-loopback)
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.
# Unloading modules
pactl unload-module module-loopback pactl unload-module module-null-sink