[alsa-devel] wrong decibel data?

Lennart Poettering mznyfn at 0pointer.de
Mon Jun 14 20:46:12 CEST 2010


On Mon, 14.06.10 17:54, Raymond Yau (superquad.vortex2 at gmail.com) wrote:

> The base volume seem to be the software 0dB point , (no software
> gain/atten), but the user want the hardware 0dB point (no hardware
> gain/atten if the hardware can provide hardware gain

jeez man, this is nonsense.

In PA we call the max hw amplification 0dB. And then we extend things
both ways in software. And finally we mark the ALSA 0dB spot (i.e. the
*hardware* 0dB spot) as "base volume".

There is nothing lost here.

And you get a cookie if you read this:

http://pulseaudio.org/wiki/WritingVolumeControlUIs#BaseVolumes

and this:

http://pulseaudio.org/wiki/WritingVolumeControlUIs#Colouredvolumesliders

And then you'll notice that we actually thought about hw and sw volume
ranges quite a bit and nothing is lost. For example, our recommended
color-coded UI will mark the ALSA 0dB spot with a color transition from
green to yellow, to give the user an idea that things get worse beyond
that point, even if he doesn't understand dB or hw or sw volumes.

Please, just drop this thread now, and just read the wiki. Thanks.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the Alsa-devel mailing list