No description
  • C 81.3%
  • Shell 16.5%
  • M4 0.8%
  • C++ 0.6%
  • Makefile 0.6%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-01-16 20:51:30 -08:00
acinclude remove unused aclocal/ltdl.m4, regenerate configure 2018-10-13 17:20:29 +03:00
build-scripts use less ancient versions of autofoo scripts 2018-10-18 11:57:16 +03:00
debian Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
external external libs: updates to opus and libmodplug, rebuild: 2019-12-05 01:41:50 +03:00
include Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
src Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
VisualC Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
VisualC-WinRT move tag skip and SDL_RW with bookkeeping code into separate mp3utils.c 2019-12-10 17:55:03 +03:00
Xcode move tag skip and SDL_RW with bookkeeping code into separate mp3utils.c 2019-12-10 17:55:03 +03:00
Xcode-iOS/SDL_mixer.xcodeproj move tag skip and SDL_RW with bookkeeping code into separate mp3utils.c 2019-12-10 17:55:03 +03:00
.hgignore Updated Windows RT projects and added Timidity MIDI playback 2017-10-21 22:28:18 -07:00
.hgtags Added tag release-2.0.4 for changeset cab8eaca3eac 2018-10-31 10:19:35 -07:00
aclocal.m4 Updated to version 2.0.4 2018-10-26 11:04:13 -07:00
Android.mk Android: add module to build library as static in Android.mk 2019-11-27 17:41:28 +01:00
autogen.sh Split acinclude.m4 into its component parts for easy updating 2007-07-15 01:03:07 +00:00
CHANGES.txt add patch note for Mix_MusicDuration addition 2019-12-17 21:56:50 +03:00
CMakeLists.txt applied multiple fixes and cleanups to the android cmake projects. 2019-12-01 11:20:02 +03:00
configure timidity / music_timidity.c updates (bug #4896): 2019-12-17 14:56:04 +03:00
configure.in timidity / music_timidity.c updates (bug #4896): 2019-12-17 14:56:04 +03:00
COPYING.txt Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
gcc-fat.sh Updated Info.plist for new version 2013-06-01 13:59:39 -07:00
Makefile.in move tag skip and SDL_RW with bookkeeping code into separate mp3utils.c 2019-12-10 17:55:03 +03:00
playmus.c Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
playwave.c Updated copyright date for 2020 2020-01-16 20:51:30 -08:00
README.txt removed smpeg support completely. 2018-10-10 17:56:10 +03:00
SDL2_mixer.pc.in Switched from SDL_mixer to SDL2_mixer 2012-01-28 10:55:23 -05:00
SDL2_mixer.spec.in changelog update 2018-10-11 11:55:50 +03:00
version.rc Updated copyright date for 2020 2020-01-16 20:51:30 -08:00

SDL_mixer 2.0

The latest version of this library is available from:
http://www.libsdl.org/projects/SDL_mixer/

Due to popular demand, here is a simple multi-channel audio mixer.
It supports 8 channels of 16 bit stereo audio, plus a single channel
of music.

See the header file SDL_mixer.h and the examples playwave.c and playmus.c
for documentation on this mixer library.

The mixer can currently load Microsoft WAVE files and Creative Labs VOC
files as audio samples, it can load FLAC files with libFLAC, it can load
Ogg Vorbis files with Ogg Vorbis or Tremor libraries, it can load MP3 files
using mpg123 or libmad, and it can load MIDI files with Timidity,
FluidSynth, and natively on Windows, Mac OSX, and Linux, and finally it can
load the following file formats via ModPlug or MikMod: .MOD .S3M .IT .XM.

Tremor decoding is disabled by default; you can enable it by passing
	--enable-music-ogg-tremor
to configure, or by defining MUSIC_OGG and OGG_USE_TREMOR.

libmad decoding is disabled by default; you can enable it by passing
	--enable-music-mp3-mad
to configure, or by defining MUSIC_MP3_MAD
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
WARNING: The license for libmad is GPL, which means that in order to
         use it your application must also be GPL!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The process of mixing MIDI files to wave output is very CPU intensive,
so if playing regular WAVE files sound great, but playing MIDI files
sound choppy, try using 8-bit audio, mono audio, or lower frequencies.

To play MIDI files using FluidSynth, you'll need to set the SDL_SOUNDFONTS
environment variable to a Sound Font 2 (.sf2) file containing the musical
instruments you want to use for MIDI playback.
(On some Linux distributions you can install the fluid-soundfont-gm package)

To play MIDI files using Timidity, you'll need to get a complete set of
GUS patches from:
http://www.libsdl.org/projects/mixer/timidity/timidity.tar.gz
and unpack them in /usr/local/lib under UNIX, and C:\ under Win32.

iOS:
In order to use this library on iOS, you should include the SDL.xcodeproj
and Xcode-iOS/SDL_mixer.xcodeproj in your application, add the SDL/include
and SDL_mixer directories to your "Header Search Paths" setting, then add the
libSDL2.a and libSDL2_mixer.a to your "Link Binary with Libraries" setting.

This library is under the zlib license, see the file "COPYING.txt" for details.