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

SlntHero at aol.com SlntHero at aol.com
Wed Aug 2 06:19:09 PDT 2006


 
"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).
 
 
 
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/) 
 
 
 
 
 
 
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 
  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

Find out  exactly where the crashes occur. This is fairly easy with 
Visual Studio.  My guess is that the crashes are inside  smpeg.

Pete.

_______________________________________________
SDL  mailing  list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060802/ec54463e/attachment.html 


More information about the SDL mailing list