Hi, I wonder how can one enumerate only the available recording devices using the ALSA API. the only option I found so far is to get a list of device names uding snd_device_name_hint(), go through them one by one, try to open each for capture, and see if that goes through. the only problem with this is that some devices, like the dmix or dsnoop device, will dump error messages in the process to stderr - which really looks ugly. is there a nicer way to determine which recording devices are available? all pointers are welcome.. Akos ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user