[alsa-devel] wrong decibel data?
Colin Guthrie
gmane at colin.guthr.ie
Tue Jun 22 19:05:41 CEST 2010
'Twas brillig, and Raymond Yau at 22/06/10 16:29 did gyre and gimble:
> 2010/6/22 Colin Guthrie <gmane at colin.guthr.ie>
>> As I said above, anything that comes from alsa is considered h/w
>> amplification for the purposes of PA's volume scale. It's not practical
>> to differentiate them
>
>
> Software gain is different from hardware gain.
Really? Wow, thanks for that :p
> Clipping due to software gain +12dB cannot compensated by -12dB by hardware
> atten
Another obvious statement, but not really anything to do with the
discussion.
This only becomes a problem if the softvol plugin is configured to go
>0dB. And if it is, then I've got to ask why....
You can configure all sorts of crazy and weird shit in alsa if you care
to, but it's totally impractical for something higher in the stack to
deal with all the nuances of the ultimate results of that configuration.
As far as anything further up the stack is concerned, if it's
represented in alsa, it's "hardware".
Just like softmodems, I don't care further up the stack whether or not
the functionality is implemented in firmware or software, I just care
that I have an interface to use a modem.
So, yes, of course you could configure softvol plugin to do nuts things
in ALSA if you're that way inclined. I don't think anyone who is not
trying to do weird things will do that, however, and I don't know of any
particular h/w that is setup in a weird way by default either.
>> Does any card actually configure softvol, by default, to provide any
>> gain, > 0dB for outputs? If so, then this is IMO a bad idea.
>>
>
> -51dB to 0dB is also software atten of softvol plugin
So that's not > 0dB then is it?
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the Alsa-devel
mailing list