• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    C
  • License
    zlib License
  • Created almost 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple and easy-to-use audio library based on miniaudio

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.


features

  • Simplifies miniaudio usage exposing only basic functionality
  • Audio formats supported: .wav, .qoa, .ogg, .mp3, .flac, .xm, .mod
  • Select desired input formats at compilation time
  • Load and play audio, static or streamed modes
  • Support for plugable audio effects with callbacks

library

raudio is distributed as two main files:

  • raudio.h: It contains the API declaration with all the exposed functionality
  • raudio.c: It contains the implementation of the library, including all the external required libraries, all of them single-file header-only libraries.

usage

For usage example, it's recommended to check the provided examples. They also contain detailed documentation at the start of the examples.

license

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.