Grom
09-02-2007 11:32:45
First off let me say thank you for the most painless installation / implementation i've ever experienced. It took me longer to download the libraries than to build them and get sound effects and music into my application. Thank you.
The question I have is in regard to playing a sound repeatedly, with the possibility of it being played overtop of itself. Basically, I have a gun, and I want it to play wave file every time it fires. The gun is automatic, so the wave needs to be played in rapid succession and while previous instances of itself are still finishing out their play cycle.
How sould I go about doing this? Should I create like 20 copies of the same wave, and loop through them as needed? That seems hackish. Is there a way to do what I'm asking?
The question I have is in regard to playing a sound repeatedly, with the possibility of it being played overtop of itself. Basically, I have a gun, and I want it to play wave file every time it fires. The gun is automatic, so the wave needs to be played in rapid succession and while previous instances of itself are still finishing out their play cycle.
How sould I go about doing this? Should I create like 20 copies of the same wave, and loop through them as needed? That seems hackish. Is there a way to do what I'm asking?