SDL_mixer1.2.7 - MP3 playback is unstable on WinXP…
I read the instructions and checked my source code and everything seems to be
written ok, but using certain values for “int Mix_OpenAudio(int frequency,
Uint16 format, int channels, int chunksize)” produces program lock-ups
(crashes).
Example:
Using:
Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT ,
MIX_DEFAULT_CHANNELS,
1024)
sometimes crashes on initialization (Mix_OpenAudio) and sometimes crashes on
switching current MP3 music playing (Mix_PlayMusic) and sometimes crashes on
de-initialization (Mix_CloseAudio).
Changing to:
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
Jesse “JeZ+Lee” Palser
SLNTHERO at AOL.com (mailto:SLNTHERO at AOL.com)
Silent Hero Productions®
http://www.SilentHeroProductions.com/
(http://www.SilentHeroProductions.com/)