author Sam Lantinga <>
Sun, 08 Nov 2009 18:40:07 +0000
changeset 474 a2c238c0c4b2
parent 357 d6d0cfdbea65
child 519 46f32853e389
permissions -rw-r--r--
Don't break binary compatibility!
     2 SDL_mixer 1.2
     4 The latest version of this library is available from:
     7 Due to popular demand, here is a simple multi-channel audio mixer.
     8 It supports 8 channels of 16 bit stereo audio, plus a single channel
     9 of music, mixed by the popular MikMod MOD, Timidity MIDI and SMPEG MP3
    10 libraries.
    12 See the header file SDL_mixer.h and the examples playwave.c and playmus.c
    13 for documentation on this mixer library.
    15 The mixer can currently load Microsoft WAVE files and Creative Labs VOC
    16 files as audio samples, and can load MIDI files via Timidity and the
    17 following music formats via MikMod:  .MOD .S3M .IT .XM. It can load
    18 Ogg Vorbis streams as music if built with Ogg Vorbis or Tremor libraries,
    19 and finally it can load MP3 music using the SMPEG or libmad libraries.
    21 Tremor decoding is disabled by default; you can enable it by passing
    22 	--enable-music-ogg-tremor
    23 to configure, or by defining OGG_MUSIC and OGG_USE_TREMOR.
    25 libmad decoding is disabled by default; you can enable it by passing
    26 	--enable-music-mp3-mad
    27 to configure, or by defining MP3_MAD_MUSIC
    28 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    29 WARNING: The license for libmad is GPL, which means that in order to
    30          use it your application must also be GPL!
    31 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    33 The process of mixing MIDI files to wave output is very CPU intensive,
    34 so if playing regular WAVE files sound great, but playing MIDI files
    35 sound choppy, try using 8-bit audio, mono audio, or lower frequencies.
    37 To play MIDI files, you'll need to get a complete set of GUS patches
    38 from:
    40 and unpack them in /usr/local/lib under UNIX, and C:\ under Win32.
    42 This library is available under the GNU Library General Public License,
    43 see the file "COPYING" for details.