sdl2_sound
« Back to VersTracker
Description:
Abstract soundfile decoder for SDL
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: sdl audio multimedia library decoding
Install: brew install sdl2_sound
About:
SDL2_sound is a library that provides an abstract interface for decoding and processing various audio file formats. It acts as a streamlined wrapper, allowing developers to easily read audio data from files or memory without managing complex codec dependencies directly. This enables robust audio support in SDL applications with minimal integration effort.
Key Features:
  • Supports numerous audio formats including WAV, MP3, Ogg, and FLAC
  • Simple, SDL-style API for easy integration
  • Decodes directly to raw PCM data for immediate use
  • Platform-independent architecture
Use Cases:
  • Adding background music and sound effects to games
  • Building audio playback features in multimedia applications
  • Processing audio files for analysis or conversion tools
Alternatives:
  • libsndfile – Focuses on professional audio I/O with wider format support, whereas SDL2_sound is optimized for game development integration.
  • miniaudio – A single-header library that includes playback engine, while SDL2_sound focuses solely on decoding.
Version History
Detected Version Rev Change Commit
Sep 15, 2025 10:01pm 0 VERSION_BUMP cc35785d
Sep 14, 2024 5:35pm 0 VERSION_BUMP 72e88897