XAudio Problem

For questions about using Classic.

Post » Sun Dec 28, 2008 3:15 am

Hello all!

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!
B
4
G
4
Posts: 27
Reputation: 1,179

Post » Sun Dec 28, 2008 4:09 am

Are you playing from file or from resource? Have you tried playing a different filetype? Explain exactly how you're making this, it would help figure out the problem. Posting a .cap when asking for help is always a good idea too.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun Dec 28, 2008 2:29 pm

I need a .cap file reproducing or at least a screenshot of your events before I can comment.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests