[alsa-devel] why would an scontrol think that it should have 2 items instead of just 1?

Clemens Ladisch cladisch at fastmail.net
Fri Aug 10 09:33:48 CEST 2007


John L. Utz III wrote:
> The VT1618 codec has a register value that turns on the Surround Side
> Output (it's off by default)
> 
> I have implemented the control, but I am getting a really weird result,
> i have a bogus 'Item1' that shouldnt exist:
> 
> jutz-gntdv alsa-driver # amixer sset Side On
> Simple mixer control 'Side',0
>   Capabilities: pvolume pswitch enum
>   Items: 'On' 'Off'
>   Item0: 'On'
>   Item1: 'On'
> jutz-gntdv alsa-driver # amixer sset Side Off
> Simple mixer control 'Side',0
>   Capabilities: pvolume pswitch enum
>   Items: 'On' 'Off'
>   Item0: 'Off'
>   Item1: 'On'

How does this control look like in the output of "amixer controls"?


Regards,
Clemens


More information about the Alsa-devel mailing list