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?

Thanks

--

        Tomas Kasparek (sioux, xkaspa06)
         Tomas.Kasparek@[seznam.cz,volny.cz]
         [EMAIL PROTECTED]
        student UIVT FEI VUT Brno


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to