[SDL] SDL_mixer1.2.7 - MP3 playback is unstable on WinXP...
SlntHero at aol.com
SlntHero at aol.com
Wed Aug 2 05:47:34 PDT 2006
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(R)
_http://www.SilentHeroProductions.com/_
(http://www.silentheroproductions.com/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060802/c1b0e2d9/attachment.htm
More information about the SDL
mailing list