576534810a
Changes: 10102003 - Changed some SDL_Error()s to __Sound_SetError() in new DLS code to fix linking issues. 10052003 - Fixed memory corruption when freeing DLS instruments, and bug when timidity is initialized multiple times (Thanks, Sam!). 09252003 - Sam Lantinga added support for DLS instruments to the MIDI decoder. 09132003 - Happy September. Added Speex (.spx) decoder. 08052003 - Fixed MIDI decoder on bigendian systems. 03102003 - Never actually created samplelist_mutex (Thanks, Glenn Maynard!). 01122003 - Fix to smpeg.c's rewinding code (Thanks, Eric). 12212002 - Fixed ogg.c to decode a full buffer at a time instead of one ogg packet per call, and mikmod has a check during initialization to prevent a clash with SDL_mixer (Thanks, Eric). 12092002 - Changed Sound_Init()'s call to SDL_Init() to SDL_InitSubSystem(), to prevent unwanted use of the SDL parachute (thanks, Glenn).
12 lines
688 B
Text
12 lines
688 B
Text
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.
|