XNA / Win8 / Sound bug
Monkey Forums/Monkey Bug Reports/XNA / Win8 / Sound bug
| ||
Strict
Import mojo
Class Prog Extends App
Global snd:Sound
Method OnCreate:Int ()
snd = LoadSound("beep.wav")
PlaySound(snd, 0)
SetUpdateRate(60)
Return 0
End
Method OnUpdate:Int ()
Return 0
End
Method OnRender:Int ()
Return 0
End
Method OnLoading:Int ()
Return 0
End
Method OnResume:Int ()
Return 0
End
Method OnSuspend:Int ()
Return 0
End
Method OnBack:Int ()
Return 0
End
Method OnClose : Int ()
#If TARGET = "win8"
EndApp()
#End
Return 0
End
End
Function Main:Int ()
New Prog()
Return 0
End
change to load a short sound file start program now click into another program (Ted or so) now click back into game window you should hear this sound again... and again... every time... you click into game window |
| ||
| I've fixed this on xna, but what do you mean by win8? Do you mean the winrt win8 target, or just xna on win8? |
| ||
| i have only win8 to test |