Public domain, single-file audio decoding libraries for C/C++ supporting FLAC, MP3, and WAV.
dr_libs is a collection of audio decoding libraries for C and C++ that provide single-file, public domain implementations for FLAC, MP3, and WAV formats. It solves the problem of integrating audio decoding into projects without complex dependencies or licensing restrictions, offering a lightweight and portable solution.
C and C++ developers working on embedded systems, games, or applications requiring simple, dependency-free audio decoding. It's particularly suited for projects where code size, portability, and public domain licensing are critical.
Developers choose dr_libs for its unique combination of single-file design, public domain licensing, and support for key audio formats, enabling easy integration and modification without legal or build system overhead.
Audio decoding libraries for C/C++, each in a single source file.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Each decoder is entirely self-contained in one header file, eliminating complex build systems and dependencies, making integration trivial for any C/C++ project.
Released with no licensing restrictions, allowing free use in commercial or open-source projects without legal overhead.
Provides dedicated libraries for decoding FLAC and MP3, plus a WAV loader/writer, covering core audio needs for many applications.
Designed for minimal footprint and maximum portability across platforms, ideal for embedded systems and cross-platform development.
Only supports FLAC, MP3, and WAV; lacks common formats like AAC, OGG, or Opus, restricting use in diverse audio pipelines.
Focuses on decoding and WAV writing, so encoding FLAC or MP3 requires additional libraries, limiting all-in-one audio solutions.
The README is brief and lacks detailed tutorials or API references, forcing developers to rely on header comments and experimentation.