libsndfile
« Back to VersTracker
Description:
C library for files containing sampled sound
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: audio c-library multimedia sound file-formats
Install: brew install libsndfile
About:
Libsndfile is a C library designed for reading and writing files containing sampled sound data, such as WAV, AIFF, and AU formats. It provides a simple, cross-platform API that abstracts away the complexities of different audio file formats. Its main value proposition is offering a lightweight, robust, and standardized solution for audio I/O operations in applications.
Key Features:
  • Supports a wide range of audio file formats including WAV, AIFF, AU, and FLAC
  • Simple and consistent C API for easy integration
  • Cross-platform compatibility (Linux, macOS, Windows)
  • Lightweight with minimal dependencies
Use Cases:
  • Audio processing applications needing format-agnostic file I/O
  • Game engines for loading sound assets
  • Scientific software dealing with acoustic data
Alternatives:
  • PortAudio – PortAudio focuses on real-time audio I/O with hardware, whereas Libsndfile specializes in file format decoding/encoding.
  • libsamplerate – libsamplerate is for audio sample rate conversion, often used alongside Libsndfile for playback preparation.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 7:07pm 1 VERSION_BUMP fe983510