Develop games in your browser. Powerful, performant & highly capable.
Make Xaudio2 global.
Thank you.
EDIT : Ok, so I put on the second layout the xaudio2 object, and on the first layout I set "play music" on the start of the layout but I can't hear nothing
I think he means, just have ONE xaudio2 object in your entire game, but in the object properties to click global.
And now it works ... I don't understand what happened