libsdl-org/SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.

752

stars

2,235

commits

C

primary language

Sep 5, 2026

updated

sdl2-mixer
sdl-mixer

README

SDL_mixer 3.0

This is an audio management library. It provides decoding of many popular audio file formats, mixing, various DSP processing effects and positional audio.

Audio data can be preloaded, or streamed on-the-fly into the mixer.

SDL3_mixer supports multiple audio devices, and can even mix to a memory buffer instead of feeding audio hardware in real time.

SDL3_mixer is a complete redesign, rewritten almost from scratch to address deficiencies in SDL2_mixer. The API is completely different and, in our opinion, a significant improvement in power and ease of use. Please refer to docs/README-migration.md for details on how to migrate your program to the new API.

SDL3_mixer requires SDL 3.4.0 or later.

The latest version of this library is available from GitHub: https://github.com/libsdl-org/SDL_mixer/releases

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

Contributors

(top 30 of 78)

slouken

884 commits

sezero

646 commits

icculus

200 commits

madebr

196 commits

libsdl-org/SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.

752

stars

2,235

commits

C

primary language

Sep 5, 2026

updated

sdl2-mixer
sdl-mixer

README

SDL_mixer 3.0

This is an audio management library. It provides decoding of many popular audio file formats, mixing, various DSP processing effects and positional audio.

Audio data can be preloaded, or streamed on-the-fly into the mixer.

SDL3_mixer supports multiple audio devices, and can even mix to a memory buffer instead of feeding audio hardware in real time.

SDL3_mixer is a complete redesign, rewritten almost from scratch to address deficiencies in SDL2_mixer. The API is completely different and, in our opinion, a significant improvement in power and ease of use. Please refer to docs/README-migration.md for details on how to migrate your program to the new API.

SDL3_mixer requires SDL 3.4.0 or later.

The latest version of this library is available from GitHub: https://github.com/libsdl-org/SDL_mixer/releases

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)

Contributors

(top 30 of 78)

slouken

884 commits

sezero

646 commits

icculus

200 commits

madebr

196 commits

Languages

C

90.3%

C++

4.8%

Perl

1.8%

CMake

1.7%

Python

1.2%