Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

miniaudio

miniaud.io

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • iPhone and iPad
  • Android
8.1 Club score Visit miniaud.io

What miniaudio is

miniaudio is a free, open-source audio playback and capture library for C and C++. It is distributed as one source file without external dependencies, allowing direct inclusion in a project’s source tree. The low-level API handles playback, capture, full-duplex operation, and device enumeration; its node graph supports mixing, effects, routing, and custom nodes. A resource manager provides reference counting, large-source streaming, and asynchronous loading. The higher-level engine combines these pieces to manage sounds with spatialization. Built-in decoding supports WAV, FLAC, and MP3, while encoding supports WAV. Custom decoders can extend format coverage, including examples such as Vorbis and Opus. Listed backends include WASAPI, DirectSound, WinMM, Core Audio, ALSA, PulseAudio, JACK, AAudio, OpenSL|ES, and Web Audio. Supported targets include Windows, macOS, iOS, Linux, BSD variants, Android, Raspberry Pi, and Emscripten/HTML5. Other platforms require a custom backend for playback and capture. Users may choose the public-domain or MIT No Attribution license. ABI compatibility is not guaranteed between versions, including bug-fix releases, and static linking is recommended.

Who it suits

It suits C and C++ developers building audio playback, capture, mixing, effects, or spatial-audio features. The library targets desktop, mobile, web, and embedded environments listed by the project.

Good to know, and what to watch

  • Single source file with no external dependencies
  • Provides low-level and high-level audio APIs
  • Supports playback, capture, streaming, and spatialization
  • Includes multiple platform audio backends
  • Available under public-domain or MIT No Attribution licensing
  • Other platforms require a custom backend
  • ABI compatibility is not guaranteed between versions
  • Security fixes may take a while
  • No free trial is offered

The verdict

miniaudio offers broad audio APIs and platform coverage in a compact, dependency-free package. Developers should plan around custom backends outside listed targets and the lack of guaranteed ABI compatibility.

What the maker publishes

ABI limitation
ABI compatibility is not guaranteed between versions, including bug-fix releases, and the manual recommends static linking when building as a library. source
Audio APIs
miniaudio includes low-level and high-level APIs for working with audio devices and audio playback. source
Audio backends
Listed backends include WASAPI, DirectSound, WinMM, Core Audio, ALSA, PulseAudio, JACK, AAudio, OpenSL|ES, and Web Audio. source
Audio engine
The high-level engine combines resource management and the node graph for managing sounds with spatialization. source
Built-in formats
The documentation lists built-in WAV, MP3, and FLAC decoding, and WAV encoding. source
Compatibility limit
The documentation says ABI compatibility is not guaranteed between versions, including bug-fix releases, and recommends static linking over shared-object builds. source
Custom decoders
Custom decoders can extend format support; the site gives Vorbis and Opus as examples. source
Distribution
The library is a single source file with no external dependencies and can be added directly to a project’s source tree. source
Documentation and examples
The site provides a programming manual, API reference, and examples. source
Formats
Built-in decoding supports WAV, FLAC, and MP3, while encoding supports WAV. source
Intended use
The documentation describes the low-level API as suited to applications that handle their own mixing, and the high-level API as suited to complex mixing and effects. source
License
Users can choose the public domain or MIT No Attribution license. source
License
The site says miniaudio is released into the public domain and offers a choice of public domain or MIT No Attribution licensing. source
Low-level API
The low-level API supports audio playback, capture, full-duplex, and device enumeration. source
Mixing and effects
Its node graph supports mixing, effect processing, routing, and custom nodes. source
Mixing and effects
Its node graph supports mixing, effect processing, custom nodes, and audio routing. source
Packaging
The library consists of a single source file and has no external dependencies. source
Platform limitation
On other platforms, playback and capture require implementing a custom backend. source
Platforms
The site lists Windows, macOS, Linux, BSD, iOS, Android, and Web through Emscripten. source
Purpose
miniaudio is an audio playback and capture library for C and C++. source
Purpose
miniaudio is an audio playback and capture library for C and C++. source
Resource management
The resource manager supports reference counting, streaming large audio sources, and asynchronous loading. source
Resource management
The resource manager supports reference counting, streaming large audio sources, and asynchronous loading. source
Security handling
The maintainer says security issues are handled publicly and transparently, and that addressing them can take a while. source

Checked against the maker's pages on 7 Oct 2026.