/
README.txt
51 lines (40 loc) · 2 KB
1
2
SDL_sound. An abstract soundfile decoder.
3
4
5
6
7
8
9
10
11
12
13
14
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.
Please check the website for the most up-to-date information about SDL_sound:
15
https://icculus.org/SDL_sound/
16
17
18
19
SDL_sound _REQUIRES_ Simple Directmedia Layer (SDL) 2.x to function, and cannot
be built without it. You can get SDL from https://www.libsdl.org/. SDL_sound
2.x only works with SDL2, and SDL_sound 1.x only works with SDL 1.x.
20
21
Reports of success or failure are welcome.
22
23
24
25
26
27
28
29
30
Unless explicitly disabled during initial build configuration, SDL_sound
always supports these file formats internally:
- Wave (.WAV) files
- MPEG-1 layers I-III (.MP3, .MP2, .MP1)
- Ogg Vorbis (.OGG) files
- Free Lossless Audio Codec (.FLAC) files
- Audio Interchange format (.AIFF) files
- Sun/NeXT Audio (.AU) files
31
- Shorten (.SHN) files
32
33
34
35
36
37
- Creative Labs Voice (.VOC) files
- Various "module" formats (.MOD, .669, .AMF, .XM, .IT, .S3M, .STM, etc)
- MIDI (.mid) files
- ABC (.abc) files
- Raw PCM data
- (macOS/iOS only) anything that CoreAudio can decode.
38
39
Building/Installing:
40
Please read the docs/INSTALL.txt document.
41
42
Reporting bugs/commenting:
43
44
45
46
47
48
There is a mailing list available. Subscription and mailing list archives
can be found here:
https://icculus.org/mailman/listinfo/sdlsound
The mailing list is the best way to get in touch with SDL_sound developers.
49
50
--ryan. (icculus@icculus.org)