# mackron/dr_libs

Audio decoding libraries for C/C++, each in a single source file.

Repository: https://github.com/mackron/dr_libs
Canonical: https://ross.abutalabs.com/products/dr_libs
Language: C
License: NOASSERTION
License Family: other
Topics: audio, decoding, flac, mp3, wav
Last push: 2026-08-19T21:53:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 3866, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1802, forks 247 (observed 2026-08-28T04:05:38.117907+00:00)

## What it is
dr_libs is a collection of public domain, single-file audio decoding libraries for C and C++, including dr_flac, dr_mp3, and dr_wav. Each library is self-contained in one header file with no external dependencies, making them easy to drop into any project.

## Use cases
- decode flac files in c
- load wav audio in a game engine
- decode mp3 without external dependencies
- embed audio decoding in a c++ application
- write wav files from c
- single header audio decoder

## When to choose
- you need dependency-free audio decoding in C/C++
- you want to drop a single header file into your project
- you need FLAC, MP3, or WAV decoding with permissive licensing

## When to avoid
- you need audio playback or recording (use miniaudio instead)
- you need decoding of formats like OGG Vorbis or AAC
- you need high-level audio pipeline features

## Facets
- artifact type: library
- maturity: active
- function: audio-processing, parser
- domain: files, developer-tools
- platform: cross-platform, cpp, c
- tags: single-file, header-only, public-domain, flac, mp3, wav, audio-decoding, audio

## Member repositories
- mackron/dr_libs (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.117907+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:02.709969+00:00, confidence not recorded.
  - readme: https://github.com/mackron/dr_libs (fetched 2026-08-28T04:05:38.117907+00:00, sha a9871b7ee951)
- Data as of 2026-08-30T08:39:29.467469+00:00.
