when I comment out the audio part, it runs fine, when i add in the following (audio part) it drops to 1fps. However if I remove the framework/imports, it runs fine :S
ps. ive tried debug on off as well and it doesn't help. I must be forgetting an audio import?
If Not ChannelPlaying(channel) Local done= False, n While Not done Local n = Rand(0,totalSongs) If n <> currentSong done = True currentSong = n EndIf Wend music = LoadSound(musicPath[currentSong]) If Not music Then RuntimeError("Unable to load the song '"+musicPath[currentSong]+"'") PlaySound music, channel End If End If
ps. ive tried debug on off as well and it doesn't help. I must be forgetting an audio import?