miniaudio C audio library with device access, a sound engine and graph-based mixing.
Overview miniaudio is a C audio library usable from C and C++ applications. It combines low-level device playback and capture with optional higher-level sound management, mixing, effects and spatialization.[2] [3]
Contents Device API and audio engine A developer can use the low-level API to exchange raw audio with a device, or use the higher-level engine to manage sounds. The engine builds on a node graph and resource manager, so mixing, effect routing and loading can be composed without adopting a separate artist-facing authoring application. This layering also allows integration with an existing application architecture.[2]
Source and concurrency boundaries The project recommends incorporating the code directly into the application's source tree and does not guarantee ABI compatibility between versions. Its manual also distinguishes lock-free audio reading from graph modification and resource-management operations that can involve synchronization. Applications with strict real-time requirements must account for those boundaries rather than interpreting the library as universally lock-free.[3] [4]
Platforms and license choice Documented targets include Windows, macOS, Linux, BSD, Android, iOS and Emscripten-based web applications. Other targets may need a custom backend for playback or capture. The library offers a choice of the Unlicense/public-domain dedication or MIT No Attribution. That permissive choice applies to miniaudio, while external codecs and other additions retain their own terms.[1] [3]
Substitution assessment miniaudio can substitute for OpenAL Soft for application-controlled audio playback, capture and basic spatial sound when the team accepts a different API. Its resource manager and node graph may fit a custom game engine, but they do not establish equivalence with OpenAL extensions or its HRTF implementation. A change requires rebuilding audio integration and checking the specific spatial-processing requirements.[2] [3] [5]
References miniaudio license Choice of Unlicense or MIT No Attribution
vendor · retrieved 2026-10-07 miniaudio overview Device API, engine, resource manager and node graph
vendor · retrieved 2026-10-07 miniaudio README Formats, source integration, ABI and targets
vendor · retrieved 2026-10-07 miniaudio programming manual Resource manager custom decoders and thread-safety sections
vendor · retrieved 2026-10-07 OpenAL Soft overview Spatial audio, backends, extensions and build requirements
vendor · retrieved 2026-10-07 Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.