13 Jun
2015
13 Jun
'15
12:45 p.m.
On Sat, 13 Jun 2015 12:29:35 +0200, Clemens Ladisch wrote:
Sergej Sawazki wrote:
On Sat, 13 Jun 2015 09:15:49 +0200, Takashi Iwai wrote:
And you need to implement the ctl get/put callback to revert the value as (0x3ff - raw value). An decrement value isn't supposed to work.
If you're using one of the SOC_xxx_TLV macros, you would set the 'invert' parameter.
I am getting the expected dB scaling with: DECLARE_TLV_DB_MINMAX_MUTE(vol_tlv, -12800, 0) does it make sense?
Yes. (-128 would have been -1.28 dB.)
Thanks.
Regards, Sergej