[SDL] SDL_mixer1.2.7 - MP3 playback is unstable on WinXP...

Peter Mulholland darkmatter at freeuk.com
Wed Aug 2 13:12:12 PDT 2006


SlntHero at aol.com wrote:
>  
> "Find out exactly where the crashes occur. This is fairly easy with  
> Visual Studio. My guess is that the crashes are inside smpeg"
>  
>  
> Crash occurs sometimes (maybe 1 out of 10 runs) in the following SDL_mixer  
> functions:
> "Mix_OpenAudio"
> "Mix_PlayMusic"
> "Mix_CloseAudio"
>  
> when 
> Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT,    
> MIX_DEFAULT_CHANNELS, 1024)
> 
> Program locks-up (not responding).

When it locks up, attach the debugger to it, and see where it has locked up.

Crashing inside Mix_OpenAudio() though would point to something serious 
going on. Try testing just SDL using the loopwave.c test example.

Pete.




More information about the SDL mailing list