From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Mixer chanel naming Date: Fri, 08 Mar 2002 15:26:18 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Kasparek Tomas Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, At Fri, 8 Mar 2002 14:01:30 +0100 (CET), 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? check out alsa-driver/doc/ControlNames. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel