From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timo Steuerwald Subject: Re: list all available devices Date: Mon, 06 Feb 2006 19:10:16 +0100 Message-ID: <43E79108.7050300@gmx.de> References: <43E71617.9090101@gmx.de> <1139248850.2791.261.camel@mindpipe> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1139248850.2791.261.camel@mindpipe> 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: Lee Revell Cc: Giuliano Pochini , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Lee Revell wrote: >Are you sure that's good enough? It does not list the PCMs in a format >useful to the application (like "default", hw:0", "surround51", "dmix" >etc). AFAICT "aplay -l" doesn't give an application enough information >to populate a drop-down list. > > > Hmmh, I haven't already taken a look at the code, but I thought this can be extended easily... >This is a problem already for apps like "wengophone" - ALSA does not >provide a sane API for enumerating all usable PCMs so it only lists >"hw:x" PCMS and whatever is directly defined in .asoundrc (but NOT the >PCMs defined under /usr/share/alsa/* - probably it parses .asoundrc >directly, ugh) > > > Uh, not very good :-/ Cheers, Timo ------------------------------------------------------- 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