I am getting a problem with the new plugin called "XAudio". When I try to play a music from resource, "XAudio2: Play music 'music.ogg' " it plays OK, but, it laggs, and make my game wierd.
It totally brokes the game, it's a guitar hero based game. And when I move the window fast (making the application laggs) the notes stops from growing, and this is a serious problems, is it related to the "every tick" that make this?
I will post some screenshots:
with no music: http://img68.imageshack.us/img68/4881/normalze3.png
Looks cool and smooth.
when I try to play the music (it lags and then...): http://img511.imageshack.us/img511/1048/brokenor0.png
Totally desordered, the notes go to many sides and the app laggs before the music start playing.
Is there another way to play musics without lag?
Thanks, and sorry for my bad english!