Skip to content

nth-eye/ima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ima

IMA/DVI ADPCM codec in C++.

How to use

Ima ima;

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

// ...fill samples...

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

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

Releases

No releases published

Packages

No packages published