Skip to content

nodef/dr_libs.c

 
 

Repository files navigation

Public domain, single file audio decoding libraries for C and C++.

discord

All development of released libraries happens on the master branch. There may exist some decoder-specific branches for work in progress. Check tags for the latest version of a particular library. This library is developed by David Reid.

Library Description
dr_flac FLAC audio decoder.
dr_mp3 MP3 audio decoder. Based off minimp3.
dr_wav WAV audio loader and writer.

Installation

Run:

$ npm i dr_libs.c

And then include dr_flac.h, dr_mp3.h, and dr_wav.h as follows:

#include "node_modules/dr_libs.c/dr_flac.h"
#include "node_modules/dr_libs.c/dr_mp3.h"
#include "node_modules/dr_libs.c/dr_wav.h"

Other Libraries

Below are some of my other libraries you may be interested in.

Library Description
miniaudio A public domain, single file library for audio playback and recording.

About

Audio decoding libraries for C/C++, each in a single source file; David Reid (2015).

Resources

License

Stars

Watchers

Forks

Languages

  • C 99.4%
  • Other 0.6%