raudio is simple and easy-to-use audio library based on miniaudio.
raudio
is intended for audio devices management and audio playing, it also supports multiple audio file-formats loading.
raudio
API tries to be very simple and intuitive and it represents a thin layer over the powerful miniaudio library, including support for multiple audio formats: WAV, OGG, MP3, FLAC, MOD, XM.
raudio
is used by raylib library as the internal audio module. raudio.h
exposes the same audio functionality exposed by raylib.h
.
- Simplifies
miniaudio
usage exposing only basic functionality - Audio formats supported:
.wav
,.ogg
,.mp3
,.flac
,.xm
and.mod
. - Select desired input formats at compilation time
- Load and play audio, static or streamed modes
- Support for plugable audio effects with callbacks
raudio
is distributed as two main files:
raudio.h
: It contains the API declaration with all the exposed functionalityraudio.c
: It contains the implementation of the library, including all theexternal
required libraries, all of them single-file header-only libraries.
For usage example, it's recommended to check the provided examples
. They also contain detailed documentation at the start of the examples.
raudio
is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check LICENSE for further details.