From mboxrd@z Thu Jan 1 00:00:00 1970 From: list@phasorlab.de (Matthias =?utf-8?Q?K=C3=B6nig?=) Subject: Re: list all available devices Date: Mon, 06 Feb 2006 19:30:52 +0100 Message-ID: <874q3ce3vn.fsf@zebra.localdomain> References: <43E71617.9090101@gmx.de> <1139248850.2791.261.camel@mindpipe> <43E79108.7050300@gmx.de> <1139249612.2791.269.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <1139249612.2791.269.camel@mindpipe> (Lee Revell's message of "Mon, 06 Feb 2006 13:13:31 -0500") Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, Lee Revell writes: > It's insane to expect every app to use 100 lines of code list to list > available PCMs. It should be a single function call. Hmm, doesn't this exist already? What about this: int snd_names_list(const char *iface, snd_devname_t **list) Give a list of device names and associated comments for selected interface. Regards, Matthias ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642