I need to write code that addresses the sound card. The problem is, I have no idea of how to go about it.
I've written some VST plugins (for Cubase, etc) before but the host takes care of all the 'dirty work', leaving you to concentrate on the algorithm.
Now I need to write a full standalone program that generates audio.
First I would need it to operate at AT LEAST 44.1 kHz - preferably 96 kHz, so I presume I would need to dabble in realtime threading (which I am a little shaky on, but I'll get by).
Secondly, I have no idea of how best to address the card itself. Would I use something like DirectX? If so, how do I interface with the API?
Any help on the matter would be greatly appreciated.