14 years after the last release of formed Release Library sdl_sound 2.0.1 (Issue 2.0.0 was missing), providing an add-in over the library SDL C features for decoding popular sound formats, such as MP3, WAV, OGG, FLAC, AIFF, VOC, MOD, MID and AU. Significant change in the version number is associated with the transfer of code with the LGPLV2 license kick-flyer on the ZLIB permissive license compatible with the GPL. In addition, despite the preservation of backward compatibility at the API level, the SDL_SOUND work is now only possible on the basis of the SDL 2.0 branch (the support of the assembly over SDL 1.2 is stopped).
For decoding audio formats in SDL_SOUND, external libraries do not apply – all the original source texts are included in the main composition. The API provided allows you to receive audio data from both files and at the level of sound streams from one or more external sources. Supports the attachment of its handlers to process the sound or provide access to the resulting decoded data. Various manipulations are possible with the frequency of sampling, formats and sound channels, including to convert on the fly.
Basic changes in the SDL_SOUND 2.0 branch:
- Change the ZLIB license and the transition to the use of SDL 2.
- Relief of code from external dependencies and embedding all decoders in the main composition. Replacing some decoders for unified handlers. For example, to work with OGG format no longer need to install the libogg library, since the decoder STB_VORBIS is now built into the source texts of SDL_SOUND.
- Transition to the use of the CMAKE assembly system. Simplify the use of the SDL_SOUND code in its projects.
- stopping the decoder support for the obsolete QuickTime format, but in MacOS and iOS to work with QuickTime, you can still use a universal decoder
CoreAudio. - Termination of SPEEX format support due to the lack of decoder implementation under the required license.
- Termination of the support of the MIKMOD decoder. To work with the same formats, you can use the MODPLUG decoder.