Projects / SDL_sound

SDL_sound

SDL_sound is a library that handles the decoding of several popular sound file formats such as .WAV and .MP3. Designed to make the task of sound playback easier, SDL_sound accepts files or other input through an abstraction layer and returns the decoded waveform. SDL_sound can decode a whole sound file and hand back a single pointer to the waveform, or SDL_sound can process sound data in programmer-specified blocks when resource constraints are a concern. SDL_sound can also handle sample rate, audio format, and channel conversion on-the-fly.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  12 Oct 2003 21:38

    Release Notes: This release has a Speex audio decoder, DLS instrument support in the MIDI decoder, Visual C 6.0 project files, and several important bugfixes.

    •  26 Oct 2002 08:33

      Release Notes: This release fixes memory leaks and other bugs, can decode MP3 files without any external libraries, and contains experimental support for Apple's Quicktime API. Mac OS 9, Mac OS X, and Windows CE are now supported, and a "playsound" application was included, which can play audio from stdin or from inside zip files. Also included are an audio seeking API, an alternate audio converter, man pages, API references, and other cleanups and fixes.

      •  08 Feb 2002 04:54

        Release Notes: Internal support for MIDI and .AU files, optional use of the ModPlug library to decode several file formats, thread-safety, a new sound rewinding API, ability for the included playsound application to loop playback with a commandline option, support for BeOS, CodeWarrior on MacOS 9, and PowerBuilder on MacOS X, updated support for Visual C on Win32, and other fixes and enhancements.

        •  31 Dec 2001 00:16

          Release Notes: This release can handle FLAC-encoded files and MS-ADPCM encoded WAV files. Sound format conversion is handled internally, and no longer relies on SDL's facilities. The decoder modules can now list more than one supported file extension. The included test program now lets the user specify a number of useful command line arguments, has a much improved sound playback algorithm, and can skip files with CTRL-C like plaympeg/mpg123. There have been many bugfixes and cleanups overall.

          •  15 Oct 2001 20:55

            Release Notes: This release uses autoconf for a build system. The library is now portable to Win32 and MacOS X in addition to more traditional Unix systems. MP3 decoding is no longer broken. Support has been added for Shorten (.shn) sound files and experimental MIDI decoding. There are other bugfixes and enhancements.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.