Diablicolic
Well-known member
Ok! Now when I play my sound, it doesnt loop even though I added the loop stuff:
And here is the code that makes the sound Alarm.wav:
The sound doesnt seem to loop even though it did with the previous version of PlaySound. Im pretty sure I didnt add any code to stop it, or have any sounds that would destroy that current sound.
It plays once and then just stops! Somebody help me!
Code:
Const SND_LOOP As Integer = &H8
And here is the code that makes the sound Alarm.wav:
Code:
Sound.PlaySound("Data/Sounds/Alarm.wav", 0, SND_LOOP Or SND_SYNC)
The sound doesnt seem to loop even though it did with the previous version of PlaySound. Im pretty sure I didnt add any code to stop it, or have any sounds that would destroy that current sound.
It plays once and then just stops! Somebody help me!