Is playing ?

BlitzMax Forums/BlitzMax Beginners Area/Is playing ?

MySound: tSound = LoadSound("boom.wav")
PlaySound MySound

How can i test if "MySound" is playing ?

thanks!
Gianluca

oops, channelplaying is mistakenly undocumented:

' channelplaying.bmx

sound = LoadSound ("shoot.wav")

Input "Hit return to begin channelplaying test, use ctrl-C to exit"

channel=PlaySound (sound)
While True
	Print "ChannelPlaying(channel)="+ChannelPlaying(channel)
Wend


oh... thanks!
ciao
Gianluca.