How to get a list of sound devices
How do I from my C/C++ program get a list of all available sound devices on a ALSA machine,
including the aliases and dsnoop/dmix devices that my .asoundrc file sets up? I've checked the API and didn't see any matching functions.
/Kenth
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
Quoted 4 lines · Kenth Andersson
How do I from my C/C++ program get a list of all available sound devices on a ALSA machine,
including the aliases and dsnoop/dmix devices that my .asoundrc file sets up? I've checked the API and didn't see any matching functions.
There are infinitely many possible device names; but try snd_names_list().
HTH
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl