🍺 BREW Explorer

← all formulae

sdl2_mixer

brew install sdl2_mixer v2.8.2 Zlib

C shared library for multi-channel audio mixing, decoding, and DSP effects with support for FLAC, Vorbis, MP3, Opus, and other formats.

Why you might care

SDL2_mixer is the standard audio middleware for games and multimedia apps built on SDL2; it handles format decoding, real-time mixing, streaming, and effects in a single library. Use it when you need to manage multiple audio channels, apply DSP processing, or support positional audio without writing audio backends yourself. Pairs directly with SDL2 for graphics + audio integration.

Categories

Alternatives

PortAudio FMOD Wwise OpenAL libao
2.0k
30-day installs · #973
6.3k
90-day · #994
20.3k
365-day · #1064
725
★ GitHub stars · updated 3d ago

Runtime dependencies

Build dependencies

GitHub topics

sdl-mixer sdl2-mixer

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "PortAudio",
    "FMOD",
    "Wwise",
    "OpenAL",
    "libao"
  ],
  "build_dependencies": [
    "pkgconf"
  ],
  "categories": [
    "library",
    "audio-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "flac",
    "fluid-synth",
    "game-music-emu",
    "libvorbis",
    "libxmp",
    "mpg123",
    "opusfile",
    "sdl2-compat",
    "wavpack"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Sample multi-channel audio mixer library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:14+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "sdl2_mixer",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-17T23:49:14Z",
  "github_readme_excerpt": "\n# SDL_mixer 3.0\n\nThis is an audio management library. It provides decoding of many popular audio\nfile formats, mixing, various DSP processing effects and positional audio.\n\nAudio data can be preloaded, or streamed on-the-fly into the mixer.\n\nSDL3_mixer supports multiple audio devices, and can even mix to a memory buffer\ninstead of feeding audio hardware in real time.\n\nSDL3_mixer is a complete redesign, rewritten almost from scratch to address\ndeficiencies in SDL2_mixer. The API is completely different and, in our\nopinion, a significant improvement in power and ease of use. Please refer to\ndocs/README-migration.md for details on how to migrate your program to the new\nAPI.\n\nSDL3_mixer requires SDL 3.4.0 or later.\n\nThe latest version of this library is available from GitHub:\nhttps://github.com/libsdl-org/SDL_mixer/releases\n\nInstallation instructions and a quick introduction is available in\n[INSTALL.md](INSTALL.md)\n\nThis library is distributed under the terms of the zlib license,\navailable in [LICENSE.txt](LICENSE.txt).\n\nEnjoy!\n\nSam Lantinga (slouken@libsdl.org)\n",
  "github_repo": "libsdl-org/SDL_mixer",
  "github_stars": 725,
  "github_topics": [
    "sdl-mixer",
    "sdl2-mixer"
  ],
  "homepage": "https://github.com/libsdl-org/SDL_mixer",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1995,
  "installs_365d": 20257,
  "installs_90d": 6306,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Zlib",
  "llm_generated_at": "2026-06-20T23:48:11+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "sdl2_mixer",
  "oldnames": [],
  "one_liner": "C shared library for multi-channel audio mixing, decoding, and DSP effects with support for FLAC, Vorbis, MP3, Opus, and other formats.",
  "optional_dependencies": [],
  "rank_30d": 973,
  "rank_365d": 1064,
  "rank_90d": 994,
  "raw_hash": "e4cc838a517fb967",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/sdl2_mixer.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.8.2",
  "versioned_formulae": [],
  "why_use_this": "SDL2_mixer is the standard audio middleware for games and multimedia apps built on SDL2; it handles format decoding, real-time mixing, streaming, and effects in a single library. Use it when you need to manage multiple audio channels, apply DSP processing, or support positional audio without writing audio backends yourself. Pairs directly with SDL2 for graphics + audio integration."
}