Does SDL support MP3, Ogg Vorbis, etc...

The BMP and WAV file loaders included with SDL are simple examples demonstrating how to load an image and sound format. You should be able to write your own reader for any format. The main library is supposed to be fast and small, and so does not include any additional loaders. A sample sound library called SDL_sound is available from the SDL libraries page which supports loading many different audio formats. Also take a look at SDL_mixer available from http://www.libsdl.org/projects/SDL_mixer/ .

FAQ_Sound (last edited 2008-04-17 08:18:44 by localhost)