Originally posted by flakbait
Really, Wolfie? Damn. Looks like a new sound card is on my shopping list. I'd always thought you couldn't do that because of the way directX handles audio.
Based on my very little experience writing DirectX apps, I've been unable to get two different processes to use the DX interface (i.e., DirectSound) to play sounds (i.e., wav files). Basically, if your process' window is not the active window, it can't write to the sound buffer. (DirectMusic MIDI doesn't present the same problem, however.)
It is no problem, however, to use the normal Windows SDK multimedia interface (e.g., PlaySound). For example, I've written a little app that sits in the background and responds to commands that I send from my HOTAS to play wav files that I've recorded (e.g., me saying "guns selected," "cannons selected," "gear down," "flaps down," "stick sensitivity dogfight," etc.). If I leave the app running in the background when I play AH, it plays the .wav files with no noticeable affect on AH or the sounds it creates. Also, I listen to Winamp often when playing AH with no problems at all.
- JNOV