'Twas brillig, and Raymond Yau at 22/06/10 16:29 did gyre and gimble:
2010/6/22 Colin Guthrie gmane@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