An abstract sound decoding library for use with SDL

SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3.
It is meant to make the programmer's sound playback tasks simpler. The programmer gives SDL_sound a filename, or feeds it data directly from one of many sources, and then reads the decoded waveform data back at her leisure. If resource constraints are a concern, SDL_sound can process sound data in programmer-specified blocks. Alternately, SDL_sound can decode a whole sound file and hand back a single pointer to the whole waveform. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly and behind-the-scenes, if the programmer desires.

As the name implies, SDL_sound is an add-on to Simple DirectMedia Layer, and as such, you'll need it to build and use SDL_sound. SDL gives us lots of convenience for porting and implementing some elements of the library, not to mention that it is a powerful, cross platform answer to DirectX. You should definitely look into it, whether you use SDL_sound or not.

License: free
Requirements: SDL

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesnononononoyes
Suggest an update

Comments

The description reads, at a glance, like SDL_mixer. What's the difference? (except of course that SDL_mixer is widespread, whereas few users will have this new library installed)
Re: Huh? posted by anonymous on Oct 11 2002 12:05 AM

SDL_sound only handles decoding, not mixing. According to Ryan, the plan is to eventually rewrite SDL_mixer to use SDL_sound as a backend to do away with some of SDL_mixer's limitations. (E.g. it would no longer need make any distinction between what is sound and what is music.)

At the very least it should be an interesting test of SDL_sound. I suspect it will turn up all sorts of fascinating bugs that no one thought of before. :-)

I don't have any idea when this will happen though.

Re: Huh? posted by anonymous on Jan 17 2003 1:59 PM
Perhaps sdl_sound should just include a mixer, so we can trash the rather cobbled-together sdl_mixer entirely.

Log in or register to rate this game or post a comment.