software · Q1009
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]
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]
Resources and decoding
The repository lists built-in WAV, FLAC and MP3 decoding and WAV encoding. Additional formats can be supplied through custom decoders; the manual gives examples involving external Opus and Vorbis libraries. Resource management can load and decode asynchronously or stream larger assets. Consequently, a small dependency-free core does not imply every desired codec is built in or that optional decoders have no separate dependencies.[3][4]
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]
Capabilities & limitations
Playback, capture and sound management
supportedLow-level device access and a higher-level engine are available.[2]
Runtime game audio and interactive sound · Windows, macOS, Linux, BSD, Android, iOS, Web via Emscripten · Supported backend, SDK and distribution terms apply
1 source · check evidence
Device API, engine, resource manager and node graph
vendor · checked 2026-10-07Stable binary ABI across releases
unsupportedThe project explicitly does not guarantee ABI compatibility.[3]
Runtime game audio and interactive sound · Windows, macOS, Linux, BSD, Android, iOS, Web via Emscripten · Supported backend, SDK and distribution terms apply
1 source · check evidence
Formats, source integration, ABI and targets
vendor · checked 2026-10-07Entirely lock-free API
limitedGraph changes and resource-management operations can synchronize.[4]
Runtime game audio and interactive sound · Windows, macOS, Linux, BSD, Android, iOS, Web via Emscripten · Supported backend, SDK and distribution terms apply
1 source · check evidence
Resource manager custom decoders and thread-safety sections
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
OpenAL Soft for Runtime game audio and interactive sound
limitedCandidate for custom runtime playback and capture with basic spatialization; not an API-compatible or HRTF-equivalent replacement.[2][5]
Windows, macOS, Linux, BSD, Android, iOS, Web via Emscripten · Supported backend, SDK and distribution terms apply
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
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1057 | 2026-10-13 19:06:21 | /* wbeditentity-create-item:0| */ sf:fc14a758-30fb-4f1e-b2ba-07427961c240:v1 | Add miniaudio with cited game-audio workflows, integration scope and license boundaries; documentation research only. | attribution: /proposals/fc14a758-30fb-4f1e-b2ba-07427961c240 |