The title says it all; why might a track being played through SDL_mixer
crash on the loop of the track? If the track is set to play only the
once, no crash occurs…
/* This is all the sound handling code in the app; prior to this SDL
was initialised with the proper SDL_INIT_AUDIO flag. / Mix_OpenAudio(
22050, MIX_DEFAULT_FORMAT, 2, 2048 );
Mix_AllocateChannels( 8 );
m_music = Mix_LoadMUS( “placeholder.mid” );
/ Load a few samples with Mix_LoadWAV() here. */
Mix_PlayMusic( m_music, -1 );
Results in…
Your buggy app has exited due to signal 4 (SIGILL).
Thanks,
Mark Bishop