module-echo-cancel: Should automatically switch to a new default source_master and sink_master...
Submitted by Robert
Assigned to pul..@..op.org
Link to original bug (#100403)
Description
...at least if the parameter "source_master" and "sink_master" was not explicitly given at load time of the module "module-echo-cancel".
My concrete problem is that I have put the module in the default.pa for automatic loading at startup, and everything works fine.
But then I connect my Headset and Pulseaudio switches the Port automatically to "Headphones" (as it should do), but the "module-echo-cancel" does not automatically switches to the new "sink_master".
This is very annoying because now I have to unload the "module-echo-cancel" manually and reload it again. I think the same is happening if you have a USB- Headset and use the module "module-switch-on-connect".
My entries in default.pa:
load-module module-echo-cancel use_volume_sharing=1 use_master_format=1 aec_method=webrtc aec_args="digital_gain_control=1 experimental_agc=1 analog_gain_control=0 noise_suppression=1 voice_detection=1 extended_filter=1" source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source set-default-sink echoCancel_sink