nth-eye / vox

Dialogic ADPCM codec implementation in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vox

Header-only dialogic ADPCM codec in C++.

How to use

Vox vox;

uint8_t encoded[512]; // must be at least sizeof(samples) / 4
int16_t samples[1024];

// fill samples...

vox.init();
vox.encode(samples, encoded, sizeof(samples) / sizeof(int16_t));

Example with reading from file can be found in main.cpp

About

Dialogic ADPCM codec implementation in C++

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 91.1%Language:CMake 8.9%