Sound Effect & Background Music Game Freezes

Sound Effect & Background Music Game Freezes
0.0 0


Hi all,
This is my first post on the forum. Thanks for the awesome library.
I am following the Step by Step Cocos2dxSimpleGame Series, from the wiki and am running into trouble when I play the Sound Effect & Background music as mentioned at the following page: [[Chapter_6*-*How_to_Play_Music_and_Sound_Effect]]. The game freezes intermittently when both the music and the sound effect play.
If however I comment the code to play the background music and let the sound effect play the game does not freeze, and vice versa.

I am running the code on Windows 7 & using VS 2010 express to debug.


Anyone have the same issue or is able to help?