IT lexicon › Programming › miniaudio

miniaudio

Programming På svenska → Updated: 2026-10-29

An audio library in C shipped as a single file: drop it in, include it, and your program plays and records on every major platform.

David Reid started it in the mid-2010s under the name mini_al. Where PortAudio is a separate library to build and link, miniaudio follows the stb tradition: everything in one header, no dependencies, and a choice of public domain or MIT-0. Underneath, it talks to WASAPI, DirectSound, Core Audio, ALSA, PulseAudio, JACK, AAudio, OpenSL ES and Web Audio, and picks whichever is available.

On top of the device layer sit decoders for WAV, FLAC and MP3, sample rate conversion and a node graph for mixing and effects. The raylib game framework builds its audio on it, as do plenty of hobby engines that took one look at FMOD's licence terms and kept walking.

← Back to the lexicon