[alsa-devel] snd_kcontrol questions

Clemens Ladisch clemens at ladisch.de
Thu May 22 12:58:31 CEST 2008

Harsha priya gupta wrote:
> 1. I want to define a snd_kcontrol that is of type mono.

In the control's info callback, set the count element of the
snd_ctl_elem_info structure to 1.

> 2. My input controls give out 9 channels when i say 'split channels' in
> kmix. can anyone help me how to fix that to 2 channels

There's something wrong in your code.  Which you didn't show.

> 3. I would want to get the individual setting of each channel from KMIX into
> my ALSA driver. How do I get them?

The snd_ctl_elem_value structure contains an array of values.


More information about the Alsa-devel mailing list