GP2X Libsdl_mixer, Resample Audio


michu

Still Fresh
Joined
Mar 6, 2006
Messages
60
Website
www.neophob.com
well i try to write a rally game, this means my cars need some sound-fx. now sdl provide a play wav/whatever function, but no play-and-changing-frequency function (or play-sample-in-x-second). so after searching alot (http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-audio.html) they propose:

blabla One would therefore need an audio resampling that works with Mix_Chunks from SDL_mixer, such as the Pymedia's Resample object. Or get resample.c from ffmpeg project.

so my question is, did someone allready publish a function like that?

or do you have another idea, how to make my cars sound?

cheers
 
Back
Top