sdl2_mixer
« Back to VersTracker
Description:
Sample multi-channel audio mixer library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @libsdl_org  |  formulae.brew.sh
Category: Multimedia
Tags: audio multimedia sdl gamedev library
Install: brew install sdl2_mixer
About:
SDL2_mixer is a sample multi-channel audio mixer library for the Simple DirectMedia Layer (SDL) library. It supports various audio formats including WAV, MP3, OGG, and FLAC, providing a simple API for mixing and playing audio. This library is essential for developers needing robust audio playback capabilities in their multimedia applications.
Key Features:
  • Supports multiple audio formats (WAV, MP3, OGG, FLAC, MOD, MIDI)
  • Simple API for mixing and playing audio channels
  • Decoupled from SDL_video, allowing use in non-graphical apps
  • Supports audio streaming and software mixing
Use Cases:
  • Adding background music and sound effects to games
  • Developing multimedia applications requiring audio playback
  • Creating cross-platform audio software
Alternatives:
  • OpenAL – OpenAL is a more advanced 3D positional audio API, whereas SDL2_mixer focuses on simpler 2D mixing and playback.
  • PortAudio – PortAudio provides lower-level cross-platform audio I/O, requiring more implementation effort compared to SDL2_mixer's high-level mixing.
Version History
Detected Version Rev Change Commit