[pulseaudio-discuss] Mic Boost on AC97 audio causes bad behavior of mic volume control

Raymond Yau superquad.vortex2 at gmail.com
Thu Apr 23 22:53:44 PDT 2015


>
> > Since alc282 has a separate dmic  , this mean the driver need to use
> > dynamic ADC switching if your laptop internal Mic use dmic instead of
> > switching input sources with the audio mixer as selector
>
> I don't quite understand what you are saying here.

Pin complex 0x12 is directly connected to audio input 0x11.

Driver  switch between audio inputs node 0x11 and node 0x08 for internal
mic jack and external Mic jack


The driver need to bind the amp in of node 0x11 and 0x08 to create the
capture volume control when two  Mic jacks connected to audio input node
0x08 through node 0x23

I: [alsa-source-ALC282 Analog] alsa-source.c: Hardware volume ranges
> from -17,25 dB to 30,00 dB.
> I: [alsa-source-ALC282 Analog] alsa-source.c: Fixing base volume to
> -30,00 dB
>

> I: [alsa-source-ALC282 Analog] alsa-source.c: Hardware volume ranges
> from -17,25 dB to 66,00 dB.

> I: [alsa-source-ALC282 Analog] alsa-source.c: Fixing base volume to
> -66,00 dB
>
>
>
> > > => There is no "smooth" volume control above 25%.
> > > The graphical volume controls don't reflect this;
> >
> > alsamixer -c0 cannot reflect the change on pulseaudio software
> > volume ?
>
> If the described effect occurs, I can see with alsamixer that the real
> volume is jumping up and down. The volume displayed by "pactl list
> sources" (and likewise by the sliders e.g. in the GNOME volume control
> widget) is not the real but the user-set value.

alsamixer -D pulse

The color or percentage does not reflect the hw capture volume / boost

>
> Here is how PA, Capture, and Boost volume, in dB, correlate in the error
> case (i.e. if "Capture" is listed before the relevant "Mic Boost" in the
> path conf file, the current PA default). PA volumes are obtained using
> "pactl list sources", Capture/Boost values using "amixer -c1 get
> <scontrol>":
>
> PA(%)   PA(dB)  Captu   Boost   Capture+Boost-66dB
> 121%    5.00    30.00   36.00   0.000000
> 100%    0.00    30.00   24.00   -12.000000

>
> In contrast, if I list "Mic Boost" before "Capture" in the path conf
> file, it looks like this:
> PA(%)   PA(dB)  Captu   Boost   Capture+Boost-dB
> 121%    5.00    30.00   36.00   0.000000
> 100%    0.00    29.25   36.00   -0.750000

If base volume is -66dB , why maximum volume and boost is 121%?

Seem total hardware gain exceed pulseaudio limit on maximum gain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150424/e0b4c19b/attachment.html>


More information about the pulseaudio-discuss mailing list