From: Christian Esken Subject: snd_ctl_open() Date: Fri, 18 Apr 2003 18:19:42 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <200304181819.42994.c.esken@cityweb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hello, I have a littel problem with snd_ctl_open(). Actually I have no idea what to pass as second parameter. I know I can use "default", but how can I find out the valid names of the other non-default sound devices. I would have looked at the docs, but there are none: The PDF on the Website has no snd_ctl_open() documented. The docs in the CVS are wrong - they are missing the crucial parameter: intsnd_ctl_open snd_ctl_t **handle intcard I thought I might use the value returned by snd_card_get_name(), but this does not work. If anybody can enlighten me and/or update the documentation I will be glad. Anything would help, if you say either amixer or alsamixer shows a good example I will take this as reference. Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf