I already got the first level of the game working including sound bits for different things, but as soon as I tried to have music play the entire game I ran into a problem. There is nothing wrong with the code it compiles fine, but it won't run the music. No matter where I put the
The game freezes as soon as it hits this function. The sound file is 1.5 mb and I am running on windows XP. Any insights? Thank you for your time.Code:if( Mix_PlayingMusic() == 0 )
{
//Play the music
if( Mix_PlayMusic( music, -1 ) == -1 )
{
return 1;
}
}