[alsa-devel] [PATCH] alsa-lib/tlv: fix handling of raw value ranges

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Fri Mar 30 15:10:24 CEST 2012


Benoît Thébaudeau wrote:
> To respect your rule, the driver would have to implement its own
> .info/.get/.put
> callbacks, giving the following mapping:
>   SW 0x00: HW 0xff: mute
>   SW 0x01 to 0x5f: HW 0x71 to 0xcf: +15 dB to -79 dB by -1 dB steps

It would rather be:
 SW 0x00: HW 0xff: mute
 SW 0x01 to 0x5f: HW 0xcf to 0x71: -79 dB to +15 dB by +1 dB steps

Regards,
Benoît


More information about the Alsa-devel mailing list