Re: How to acces busbased cards ( PCI/ ISA)
- Posted by jimcbrown (admin) Mar 14, 2009
- 1017 views
SDPringle said...
How does one enumerate the audio devices in Linux? Suppose you want to use a USB audio out only device to for output to the speakers but a USB headset for input only. Then there is a BUS audio which has a lot of noise on it. I don't even use it anymore.
Can you get a descriptive names for the devices from /dev/dsp0, /dev/dsp1?
I think this is more OS-dependent. On Linux, using true OSS you open /dev/sndstat (it returns human readable text) and parse it, while with ALSA's OSS emulation you open /proc/asound/cards (more human readable text) and parse that.