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

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

I think that the various cards may have thier own different API for the kernel and then the kernel provides the user with an API which is more or less the same across cards of the same type.

This is exactly right.

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.

On DOS, you just use the driver's api directly.. No C code required.

SDPringle said...

What kind of device does the original poster want to write for?

The OP did not say.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu