[alsa-devel] Question about snd_soc_add_controls

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Jun 22 03:52:39 CEST 2010


Dear Mark

Thank you for your help !!

> In many chips the lowest gain setting is defined as mute rather than
> a dB value. Setting the mute flag indicates that this is the case for
> this gain control.
(snip)
> It means that instead of the lowest register value being the lowest
> volume the highest register value is the lowest volume. This is used
> to ensure the control is mapped properly in userspace so sliders
> raise the volume when moved upwards. 
(snip)
> See the functions that are specified in the macro - these values are
> used to generate ALSA controls for the specified bitfields.


Best regards
--
Kuninori Morimoto
 


More information about the Alsa-devel mailing list