stoping LoopSound!?

Blitz3D Forums/Blitz3D Beginners Area/stoping LoopSound!?

Hardcoal(Posted 2012) [#1]
how do you stop the sound .. from looping..
I do LoopSound and then EmitSound but how do i stop it from playing.

I dont want to use freesound. because then i will loose the handle
for a replay.


Yue(Posted 2012) [#2]
Use:
[bbcode]PauseChannel (Audio%)[/bbcode]


Hardcoal(Posted 2012) [#3]
didnt stop nothing.

keeps looping ...


Hardcoal(Posted 2012) [#4]
no i get it. the playsound command returns the channel handle.
then you can stop it ..

chnWave=PlaySound(sndWave)