I never done it.
I don't know exactly how to do it, but i think you should progarm the DMA of the SoundBalster.
: No it won't, then you will have to go low level(assmebly), you can't write an interface for all sound cards - one or two will do, or you could use the bell.
:
:
: : The programming I have done is all in Dos, and I don't think DirectX will work with this. Am I right?
: :
: : : Hi,
: : :
: : : I suggest you use DirectSound for sound.(DirectX).
: : :
: : : : Hi.
: : : : I have developed a doom style 3d engine in Borland C++, and have the graphics part almost complete. I now want to add atmosphere to the game and the best way to do this is by adding sounds. I have followed many tutorials on the web and downloaded lots of examples including the ones from this site, but all the sound programms that I have written and seen don't do. They cause the game to freeze until the sound is played, the the motion continues. This is fine for tiny sounds but looks real odd when opening a door.
: : : : I was wondering if anyone had written a game and had successfully implemented sound in C++, and was willing to give me a hand.
: : : :
: : : : Thanks
: : : : Ciaran
: : : :
: : :
: : :
: :
: :
:
: