<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - module-echo-cancel: Should automatically switch to a new default source_master and sink_master..."
href="https://bugs.freedesktop.org/show_bug.cgi?id=100403">100403</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>module-echo-cancel: Should automatically switch to a new default source_master and sink_master...
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>modules
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>maxl1234@gmx.at
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>...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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>