Device Enumeration in Human-Readable Form
A message that is not in the archive (sent off-list or not yet received): [email protected]
I am currently working on a multiplatform audio project that uses wxWidgets
+ DirectSound on Windows and wxGTK + ALSA on Linux. I need to be able to enumerate the soundcards on the system in Human-readable form, like so:
http://www.bloodlessmushroom/enumeration.gif
Is there a standard way to get this enumeration using ALSA? I haven't been able to find any good documentation describing how to do so. Essentially I am looking for how to do something more or less equivalent to DirectSoundEnumerate() in order to grab a list of PCM capture and PCM playback devices.
Thank you,
Jason Champion
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 11 lines · Jason Champion
I am currently working on a multiplatform audio project that uses wxWidgets
+ DirectSound on Windows and wxGTK + ALSA on Linux. I need to be able to enumerate the soundcards on the system in Human-readable form, like so:http://www.bloodlessmushroom/enumeration.gif
Is there a standard way to get this enumeration using ALSA? I haven't been able to find any good documentation describing how to do so. Essentially I am looking for how to do something more or less equivalent to
DirectSoundEnumerate()in order to grab a list of PCM capture and PCM playback devices.
According to
<http://sourceforge.net/mailarchive/forum.php?thread_id=7452725&forum_id=1752>
you can use the snd_names_list function; however this relies on libasound 1.0.9, and the user must have a valied /etc/asound.names file. Some newer distributions maintain this file by default.
Signature · 13 lines
Sam Morris http://robots.org.uk/ PGP key id 5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642