Restructure: Move compandor from common code to 'libcompandor'
This commit is contained in:
@@ -32,6 +32,7 @@ test_compandor_SOURCES = dummy.x test_compandor.c
|
||||
|
||||
test_compandor_LDADD = \
|
||||
$(COMMON_LA) \
|
||||
$(top_builddir)/src/libcompandor/libcompandor.a \
|
||||
$(top_builddir)/src/common/libmobile.a \
|
||||
$(top_builddir)/src/common/libcommon.a \
|
||||
$(ALSA_LIBS) \
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user