Hy.
I’m trying to play a MP3 background music with SimpleAudioEngine::sharedEngine()>playBackgroundMusic VS2010
It works ok, but when I start the project in Debug mode it does not work.
When the code reaches this line:
mciError = mciSendCommand&mciOpen);
in the method void MciPlayer::Open in MciPlayer.cpp,
then the application closes.
It does not pass this line.
If I use a wav file instead of a mp3 it works.
Also if I start in Release mode it works with both
I am on Windows 7
You have any idea why it crashes on debug mode, when using an mp3?