Re: How to acces busbased cards ( PCI/ ISA)

new topic     » goto parent     » topic index » view thread      » older message » newer message
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?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu