<div dir="ltr"><div>Back with more data.</div>I used this option since then, but it turns out that even if Pulseaudio doesnt do it,some other apps will still abuse the gain adjustments.<div><br><div>For example i just finished a Google Hangout session (working from my home desktop) and with "aec_args="analog_gain_control=0\ digital_gain_control=0"" - the mic boost (element "Rear Mic Boost") was going back to 53 (mid level) causing loud noise when there was silence on my side (used headphones with microphone).</div></div><div>After i set "volume = zero" in /usr/share/pulseaudio/alsa-mixer/paths/analog-input-rear-mic.conf, "[Element Rear Mic Boost]" section and restarted Pulseaudio, AGC adjustments were still made by Chrome, but only within the "Capture" control and nobody complained anymore.<br></div><div><br></div><div>So Hangouts does this, and it seems Chrome has AGC built in for "plain" Webrtc too with no option to disable (i at least couldnt find one). I tested Jitsi Meet (Webrtc MUC server, locally deployed) and Chrome uses AGC boost adjustments with the same Pulseaudio setup.</div><div><br></div><div>Skype on the other hand always worked just fine with echo-cancel - either doesn't do AGC on its own or does it better (this point isnt that important now since it will likely stop working for audio/video in the immediate future and the browser version will replace it with Webrtc sometimes, hopefully before it, returning us to the previous point). Thinking about it, desktop apps in general are echo-cancel-friendly, even the java-powered Jitsi desktop client.</div><div><br></div><div>It seems that in cases like this the "aec_args" are insufficient and some option should be provided to disable the gain adjustments server-wide since the editing of the config files are overwritten on Pulseaudio update.</div><div><br></div><div>Also note the fact that some sound cards (like most? USB headsets) that don't have variable mic boost options are immune to this issue. I have one USB headset wit mic (actually tried multiple models, all with the same results) at work and they work just fine with echo-cancel regardless of Pulseaudio's settings.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 24, 2016 at 6:29 PM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, 2016-04-23 at 17:05 +0300, Laszlo KERTESZ wrote:<br>
> PS: Is there a documentation somewhere with a list of all aec_args?<br>
<br>
</span>I don't think so. It *should* be documented on<br>
<a href="https://wiki.freedesktop.org/www/Software/PulseAudio/Documentation/User/Modules/" rel="noreferrer" target="_blank">https://wiki.freedesktop.org/www/Software/PulseAudio/Documentation/User/Modules/</a><br>
but isn't. I'll add the documentation at some point (or Arun, would you<br>
like to do that?)<br>
<div class="HOEnZb"><div class="h5"><br>
-- <br>
Tanu<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</div></div></blockquote></div><br></div>