“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
Program locks-up (not responding).
Jesse “JeZ+Lee” Palser
SLNTHERO at AOL.com (mailto:SLNTHERO at AOL.com)
Silent Hero Productions®
In a message dated 8/2/2006 9:05:42 A.M. Eastern Standard Time,
darkmatter at freeuk.com writes:
SlntHero at aol.com wrote:
SDL_mixer1.2.7 - MP3 playback is unstable on WinXP…
I read the instructions and checked my source code and everything seems to
written ok, but using certain values for “int Mix_OpenAudio(int frequency,
Uint16 format, int channels, int chunksize)” produces program lock-ups
Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT ,
sometimes crashes on initialization (Mix_OpenAudio) and sometimes crashes
switching current MP3 music playing (Mix_PlayMusic) and sometimes crashes
Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT , MIX_DEFAULT_CHANNELS, 512)
seems to fix the crash problems.
Hope someone can fix these issues and release fixes in SDL_mixer 1.2.8
Find out exactly where the crashes occur. This is fairly easy with
Visual Studio. My guess is that the crashes are inside smpeg.
SDL mailing list
SDL at libsdl.org