Sound effects stutter & no midi music playback

Hello All,
I’ve been working on a old game called ‘rott’ or rise of the triad, I’ve tried
a few different versions of the sdl & sdl_mixer code up to the current versions
and if I compile the game/sdl code under win32 (msvc 7.0) I have music and
sound effects, but the sound effects are badly distorted and the game eventually
crashes. Under the unix version (cygwin gcc) there is no music and the sound
effects are a little better, but there is a stutter in the sound effects
playback, does anyone know what is causing this and if so is there a
update/patch available to fix this.

Thanks!

jbailey

Try changing the buffer size of the mixer… try 1024 bytes. Look for
Mix_InitAudio or what it is called.

/Olof

jonathan bailey: “[SDL] sound effects stutter & no midi music playback”…

#Hello All,
#I’ve been working on a old game called ‘rott’ or rise of the triad, I’ve tried
#a few different versions of the sdl & sdl_mixer code up to the current versions
#and if I compile the game/sdl code under win32 (msvc 7.0) I have music and
#sound effects, but the sound effects are badly distorted and the game eventually
#crashes. Under the unix version (cygwin gcc) there is no music and the sound
#effects are a little better, but there is a stutter in the sound effects
#playback, does anyone know what is causing this and if so is there a
#update/patch available to fix this.#
#Thanks!

#jbailey

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