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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu