<div dir="ltr">Oh well. I have pulseaudio 9 installed, but this AGC issue, at least on my laptop is actually worse on Google Hangouts on Chrome at least (webrtc echo cancellation with no additional options). I had to set microphone boost to zero in theĀ /usr/share/pulseaudio/alsa-mixer/paths/analog-input-dock-mic.conf to make it work. Skype web seems to be ok (on Chrome).<div>Other applications seem to work ok, probably they do not try to crank the boost as hard a Hangout does?</div><div>Actually so far only Hangouts created issues with echo-cancel.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 12, 2016 at 6:52 AM, Arun Raghavan <span dir="ltr"><<a href="mailto:arun@arunraghavan.net" target="_blank">arun@arunraghavan.net</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 Wed, 11 May 2016, at 06:22 PM, Laszlo KERTESZ wrote:<br>
> Back with more data.<br>
> I used this option since then, but it turns out that even if Pulseaudio<br>
> doesnt do it,some other apps will still abuse the gain adjustments.<br>
><br>
> For example i just finished a Google Hangout session (working from my<br>
> home<br>
> desktop) and with "aec_args="analog_gain_control=0\<br>
> digital_gain_control=0"" - the mic boost (element "Rear Mic Boost") was<br>
> going back to 53 (mid level) causing loud noise when there was silence on<br>
> my side (used headphones with microphone).<br>
> After i set "volume = zero"<br>
> in /usr/share/pulseaudio/alsa-mixer/paths/analog-input-rear-mic.conf,<br>
> "[Element Rear Mic Boost]" section and restarted Pulseaudio, AGC<br>
> adjustments were still made by Chrome, but only within the "Capture"<br>
> control and nobody complained anymore.<br>
<br>
</span>Indeed, it might be interesting to explore an option to disable using<br>
boost controls via UI. At least for me, that's not something I see<br>
myself immediately having the time for.<br>
<span class=""><br>
> So Hangouts does this, and it seems Chrome has AGC built in for "plain"<br>
> Webrtc too with no option to disable (i at least couldnt find one). I<br>
> tested Jitsi Meet (Webrtc MUC server, locally deployed) and Chrome uses<br>
> AGC<br>
> boost adjustments with the same Pulseaudio setup.<br>
<br>
</span>FWIW, with the upcoming PA 9.0, things may get better with built-in AGC.<br>
<br>
On Firefox, I see a config option to disable AGC, haven't tested if it<br>
does.<br>
<span class=""><br>
> Skype on the other hand always worked just fine with echo-cancel - either<br>
> doesn't do AGC on its own or does it better (this point isnt that<br>
> important<br>
> now since it will likely stop working for audio/video in the immediate<br>
> future and the browser version will replace it with Webrtc sometimes,<br>
> hopefully before it, returning us to the previous point). Thinking about<br>
> it, desktop apps in general are echo-cancel-friendly, even the<br>
> java-powered<br>
> Jitsi desktop client.<br>
><br>
> It seems that in cases like this the "aec_args" are insufficient and some<br>
> option should be provided to disable the gain adjustments server-wide<br>
> since<br>
> the editing of the config files are overwritten on Pulseaudio update.<br>
><br>
> Also note the fact that some sound cards (like most? USB headsets) that<br>
> don't have variable mic boost options are immune to this issue. I have<br>
> one<br>
> USB headset wit mic (actually tried multiple models, all with the same<br>
> results) at work and they work just fine with echo-cancel regardless of<br>
> Pulseaudio's settings.<br>
<br>
</span>We currently don't have the ability to do that. We might get this at<br>
some point as part of ongoing efforts to enable sandboxing.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Arun<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>