[SDL] sdl audio jittering

Florian Hufsky fhufsky at phorus.at
Mon Nov 14 13:19:12 PST 2005

Gabriel schrieb:

>>>Yep, all our games use SDL_mixer with ogg soundtrack and sound effects.
>>>What's so bad about it?
>>you can't play multiple ogg files at once.
>Yes I can... download
>http://www.mysterystudio.com/demos/WildWestWendyDEMO.exe for proof
>        --Gabriel

Ok. You can't in a clean way.
I guess you decode the .oggs on loading and use them as sounds in 
sdl_mixer. Or something equally complicated. I haven't seen a *good* way 

Good way as in.

THE_Sound *s = mix_loadafilethatcontainsaudiodata("bla.mp3");
THE_Sound *paralell = mix_loadafilethatcontainsaudiodata("bananarama.ogg");
//be happy

More information about the SDL mailing list