[alsa-devel] RFC: new TLV types for dB range with min/max

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 19 11:33:46 CEST 2009

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.

More information about the Alsa-devel mailing list