Re: RFC: new TLV types for dB range with min/max

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 19, 2009 at 09:47:05AM +0200, Takashi Iwai wrote:

> Since the step size may have a rounding error, this can accumulate to
> a significant amount at the max value.

> A simple way to avoid this is to just give min and max values instead
> of min and step values, and interpolate the middle.  For that, I
> create two new TLV types.

This is a good idea - it is also helpful for some of the ASoC devices
which have dB scales with steps with 3 decimal places of resolution,
using this makes writing the driver a bit easier.  Thanks for doing it.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux