[Alsa-devel] [RFC] alsa integer control ranges
tiwai at suse.de
Wed May 17 22:35:40 EST 2006
At Wed, 17 May 2006 14:16:58 +0200,
Johannes Berg wrote:
> On Wed, 2006-05-17 at 11:59 +0200, Takashi Iwai wrote:
> > We have several issuess regarding the conversion of dB <-> raw volume
> > values:
> > - some codecs use linear volume
> > - some codecs have non-linear dB slopes
> And I made a huge table so that the slope is linear! Otherwise it'd have
> been logarithmic. Anything else is pretty user-unfriendly though.
It's not the question of user-friendliness. As the end result, the dB
expression would be the best for users. No doubt.
The question is where to implement a huge table or a complex
conversion function -- whether in the driver or in alsa-lib.
More information about the Linuxppc-dev