Can't get the loop to stop playing...

Posted By: Anonymous

Can't get the loop to stop playing... - 04/07/02 10:15

Hi,

I'm using the snd_loop command to play a .wav file continuously, however when I use the snd_stop command to try to stop it ignores the command and continues to play the file. I've defined the variable "musichandle = (lvl1_music, 50, 50);" as the variable to use in the stop command like this "snd_stop(musichandle);". What is going on here??

thanks
Posted By: Phantom88

Re: Can't get the loop to stop playing... - 04/07/02 17:09

code:
snd_loop(music,50,50);
musichandle=result;
............
snd_stop(musichandle);

~Phantom88~
Posted By: Anonymous

Re: Can't get the loop to stop playing... - 04/08/02 00:26

thanks for the help Phantom88, that was very helpful!

Regards
© 2023 lite-C Forums