0
0

Hey, im having alot of trouble trying to get FMOD to play sounds when an event occurs in my game like i.e. if(BulletFire)Play sound etc, it seems that FMOD will only play a sound if the program has to suspend for a key to be pressed etc? I can’t use do while loop e.g.

bool playSound = false;

do{

playSound = true
play sound etc

while(!soundPlayed)

as that halts the entire game loop until the sound is played?

Any help please? Thanks.

p.s. im using .NET 2003 VC++

  • You must to post comments
0
0

Please check out the example programs that ship with the FMOD API. The “simple” or “3d” examples should have all the info you need.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.