<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-04-27 19:08 GMT+08:00 Wilck, Martin <span dir="ltr"><<a href="mailto:martin.wilck@ts.fujitsu.com" target="_blank">martin.wilck@ts.fujitsu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Fr, 2015-04-24 at 13:53 +0800, Raymond Yau wrote:<br>
<br>
</span>However the driver seems to hide this complexity. For simplicity, we<br>
should focus the discussion on the jack mics and leave "Internal Mic"<br>
aside. I can only say that from user land, volume control of "Internal<br>
Mic" apparently behaved the same as the other two Mics.<br></blockquote><div><br></div><div>But the mic jack can also be used as line in according to lifeboof e744 datasheet, The output jack can be used as line out or headphone<br><br></div>User need to know the real 0dB at the pulseaudio volume scale when using line in <br></div><div class="gmail_quote"> <br><a href="http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/WritingVolumeControlUIs/">http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/WritingVolumeControlUIs/</a><br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
> > Here is how PA, Capture, and Boost volume, in dB, correlate in the<br>
> error<br>
> > case (i.e. if "Capture" is listed before the relevant "Mic Boost" in<br>
> the<br>
> > path conf file, the current PA default). PA volumes are obtained<br>
> using<br>
> > "pactl list sources", Capture/Boost values using "amixer -c1 get<br>
> > <scontrol>":<br>
> ><br>
> > PA(%)   PA(dB)  Captu   Boost   Capture+Boost-66dB<br>
> > 121%    5.00    30.00   36.00   0.000000<br>
> > 100%    0.00    30.00   24.00   -12.000000<br>
><br>
><br>
><br>
> ><br>
> > In contrast, if I list "Mic Boost" before "Capture" in the path conf<br>
> > file, it looks like this:<br>
> > PA(%)   PA(dB)  Captu   Boost   Capture+Boost-dB<br>
> > 121%    5.00    30.00   36.00   0.000000<br>
> > 100%    0.00    29.25   36.00   -0.750000<br>
><br>
> If base volume is -66dB , why maximum volume and boost is 121%?<br>
<br>
> Seem total hardware gain exceed pulseaudio limit on maximum gain<br>
<br>
</span>Sorry for causing confusion. I had observed that setting "0dB" or "100%"<br>
in PA didn't actually set full HW volume (actual volume was -12dB or<br>
-0.75 dB, see above). So I let my test script move beyond 100%, and<br>
because my it made 5dB steps, this has set +5dB/121%. I might as well<br>
just set 100.01% in PA. I seems to be necessary to go slightly beyond<br>
100% in PA in order to reach the actual maximum (+30dB Capture and +36dB<br>
Boost). That may be a rounding problem. It's not relevant to my point<br>
here (well, some may argue that getting -12dB when you set 100% volume<br>
is unexpected, but that's a minor issue for me).<br>
<br>
Coming back to the original point, wouldn't you agree that the way these<br>
volume controls behave by default is erratic & confusing?<br></blockquote><div><br></div></div>There are 118 unique dB level out of 256 combination when volume has 64 steps and boost has 4 steps.</div><div class="gmail_extra">Pulseaudio just use ( 64 + 4 ) or ( 4 + 64 ) hardware setting with pulseaudio software volume when changing the order of using volume and boost <br></div></div>