What do I need to know to stream a sound of a given frequency (that is, generated programatically at runtime, not a file) to the loudspeakers of the system on MS Windows?
Please be as specific as you can, I have an idea of winAPI, but I'm more of a linux programmer, so function names are welcome.
The answer with the most concrete steps and functions to call will be accepted.