Restructure: Move compandor from common code to 'libcompandor'

This commit is contained in:
Andreas Eversberg
2017-11-16 21:13:28 +01:00
parent 083ea4edaa
commit 9776736cc4
19 changed files with 23 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
#include <math.h>
#include <string.h>
#include "../common/sample.h"
#include "../common/compandor.h"
#include "../libcompandor/compandor.h"
#define level2db(level) (20 * log10(level))
#define db2level(db) pow(10, (double)db / 20.0)