Re: How to acces busbased cards ( PCI/ ISA)
- Posted by SDPringle Mar 14, 2009
- 1144 views
jimcbrown said...
SDPringle said...
This is more of a C question to me. How do I say open a sound device for reading and writing and then read and manipulate the audio data on its way in?
On Unix, you usually can just do a open("/dev/dsp", "u") and then read and write to the file. Most other devices can be accessed the same way.
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?