Main Menu

Loopsound doesn't work?

Started by Mick Berg, February 03, 2007, 03:45:47 PM

Previous topic - Next topic

Mick Berg

Is there a problem with LOOPSOUND? I made a simple program to play a sound, PLAYSOUND works fine, LOOPSOUND doesn't.
Mick Berg.

Ian Price

Works fine here.


sound()

End



; Test sound
Function sound()

LoadSound "sfx\pickup.mp3",1

LoopSound 1

PlaySound 1

While Not EscKey()

Text 10,10,"TESTING"

Sync

Cls 0

EndWhile

EndFunction


Are you putting LoopSound  first?
I came. I saw. I played some Nintendo.

Mick Berg

Thanks, I didn't realise you needed a PLAYSOUND as well as a LOOPSOUND. The help did explain this, I didn't interpret it correctly.