Tuesday 8 December 2009

Finding ALSA devices programmatically

Finding out the ALSA audio devices in a Linux box programmatically can be a bit tricky. I did it like this:

Of course if you don't need to do it yourself, you can use the aplay command from the shell.

No comments:

Post a Comment