78
|
1 SDL_sound. An abstract soundfile decoder.
|
|
2
|
256
|
3 SDL_sound is a library that handles the decoding of several popular sound file
|
|
4 formats, such as .WAV and .MP3. It is meant to make the programmer's sound
|
|
5 playback tasks simpler. The programmer gives SDL_sound a filename, or feeds
|
|
6 it data directly from one of many sources, and then reads the decoded
|
|
7 waveform data back at her leisure. If resource constraints are a concern,
|
|
8 SDL_sound can process sound data in programmer-specified blocks. Alternately,
|
|
9 SDL_sound can decode a whole sound file and hand back a single pointer to the
|
|
10 whole waveform. SDL_sound can also handle sample rate, audio format, and
|
|
11 channel conversion on-the-fly and behind-the-scenes, if the programmer
|
|
12 desires.
|
|
13
|
|
14 Please check the website for the most up-to-date information about SDL_sound:
|
232
|
15 http://icculus.org/SDL_sound/
|
78
|
16
|
239
|
17 SDL_sound _REQUIRES_ Simple Directmedia Layer (SDL) to function, and cannot
|
|
18 be built without it. You can get SDL from http://www.libsdl.org/. SDL_sound
|
|
19 has only been tried with the SDL 1.2 series, but may work on older versions.
|
|
20 Reports of success or failure are welcome.
|
|
21
|
232
|
22 Some optional external libraries that SDL_sound can use and where to find them:
|
239
|
23 SMPEG (used to decode MP3s): http://www.lokigames.com/development/smpeg.php3
|
|
24 libvorbis (used to decode OGGs): http://www.xiph.org/ogg/vorbis/
|
|
25 libFLAC (used to decode FLACs): http://flac.sourceforge.net/
|
|
26 libModPlug (used to decode MODs, etc): http://modplug-xmms.sourceforge.net/
|
|
27 libMikMod (used to decode MODs, etc, too): http://www.mikmod.org/
|
232
|
28
|
|
29 These external libraries are OPTIONAL. SDL_sound will build and function
|
|
30 without them, but various sound file formats are not supported unless these
|
|
31 libraries are available. Unless explicitly disabled during initial build
|
239
|
32 configuration, SDL_sound always supports these file formats internally:
|
232
|
33
|
239
|
34 - Microsoft .WAV files (uncompressed and MS-ADPCM encoded).
|
|
35 - Creative Labs .VOC files
|
|
36 - Shorten (.SHN) files
|
|
37 - Audio Interchange format (AIFF) files
|
|
38 - Sun Audio (.AU) files
|
|
39 - MIDI files
|
|
40 - Raw waveform data
|
232
|
41
|
|
42 Building/Installing:
|
253
|
43 Please read the INSTALL document.
|
78
|
44
|
232
|
45 Reporting bugs/commenting:
|
|
46 There is a mailing list available. To subscribe, send a blank email to
|
|
47 sdlsound-subscribe@icculus.org. This is the best way to get in touch with
|
|
48 SDL_sound developers.
|
|
49
|
253
|
50 --ryan. (icculus@clutteredmind.org)
|
|
51
|