SDL_mixer is a sample multi-channel audio mixer library.
It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries.
As of SDL_mixer 1.2.7, Ogg Vorbis and MP3 loading libraries are dynamically loaded, so if you don’t need to load those formats, you don’t need to include those shared libraries.
Vorbis is a general purpose audio and music encoding format
contemporary to MPEG-4’s AAC and TwinVQ, the next generation beyond
MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
proprietary formats such as RealAudio G2 and Windows’ flavor of the
month), the Vorbis CODEC specification belongs to the public domain.
All the technical details are published and documented, and any
software entity may make full use of the format without license
fee, royalty or patent concerns.