raysan5 / raudio

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:zlib License


Languages

Language:C 97.8%Language:CMake 2.2%