Hello, this is my first post.
Sorry if the question is resolved, I used the search but found no solutions.
When I use XAudio2 I have a problem with FPS.
The first thing I load the wav to resources. Then, after the conditions put to action: XAudio2: Autoplay resource "sound.wav" (No Loop). (Sound is played every 150 ms)
When I start the game after some time FPS drops.
PS: Sorry for my English, translated online.
I think that since you made the sound play every 150ms automatically, it plays on different channels everytime, and after sometime there are so much open channels that your game lags?
I could be wrong, I have no idea how the XAudio2 REALLY works.. just guessing.
I'm still struggling with the XAudio2 too heh, but I think that might be it.