Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can't get the loop to stop playing... #8651
04/07/02 10:15
04/07/02 10:15

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



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

Re: Can't get the loop to stop playing... #8652
04/07/02 17:09
04/07/02 17:09
Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
Phantom88 Offline
Expert
Phantom88  Offline
Expert

Joined: Oct 2001
Posts: 1,407
Helsinki, Finland
code:
snd_loop(music,50,50);
musichandle=result;
............
snd_stop(musichandle);

~Phantom88~


Programmer, Gamer ICQ #: 157485106 | Xfire: Phantom1988 | MSN: lauri_andler@hotmail.com | AIM: FinPhantom | YAHOO: FinPhantom
Re: Can't get the loop to stop playing... #8653
04/08/02 00:26
04/08/02 00:26

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



thanks for the help Phantom88, that was very helpful!

Regards


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1