On Fri, 8 Mar 2002, Kasparek Tomas wrote:
> Hi,
>
> I've just started writing driver for Compaq iPAQ and I'm feel realy dizzy
> from setting the mixer. Here is part of code:
>
> ...
> static snd_kcontrol_new_t snd_h3600_controls[] = {
> H3600_SINGLE("Master Playback Switch", H3600_MASTER, 15, 1, 1),
> H3600_DOUBLE("Master Playback Volume", H3600_MASTER, 8, 0, 31, 1),
> ...
>
> First argument is used for "name" item of snd_kcontrol_new_t structure.
> It look like the name is significant when configuring this new control.
>
> (e.g. without "playback", alsamixer shows two devices for one entry)
>
> Where should I find information of possible names and mainly their
> meaning? How functionality of such defined control depends on this name?
The recommended names for controls are defined in
the alsa-driver/doc/ControlNames document (should be probably moved to
alsa-kernel/Documentation).
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel