diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/Makefile.am | 6 | ||||
-rw-r--r-- | src/test/test_compandor.c (renamed from src/test/test_compander.c) | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 0463b49..9986f68 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -1,12 +1,12 @@ AM_CPPFLAGS = -Wall -g $(all_includes) noinst_PROGRAMS = \ - test_compander \ + test_compandor \ test_emphasis -test_compander_SOURCES = test_compander.c +test_compandor_SOURCES = test_compandor.c -test_compander_LDADD = \ +test_compandor_LDADD = \ $(COMMON_LA) \ $(top_builddir)/src/common/libcommon.a \ -lm diff --git a/src/test/test_compander.c b/src/test/test_compandor.c index d1661b4..74f4f28 100644 --- a/src/test/test_compander.c +++ b/src/test/test_compandor.c @@ -2,7 +2,7 @@ #include <stdint.h> #include <math.h> #include <string.h> -#include "../common/compander.h" +#include "../common/compandor.h" #define level2db(level) (20 * log10(level)) #define db2level(db) pow(10, (double)db / 20.0) @@ -66,11 +66,11 @@ static void check_level(int16_t *samples, double duration, const char *desc, dou int main(void) { - compander_t cstate; + compandor_t cstate; int16_t samples[SAMPLERATE * 2]; int f; - init_compander(&cstate, SAMPLERATE, ATTACK_MS, RECOVERY_MS, UNAFFECTED); + init_compandor(&cstate, SAMPLERATE, ATTACK_MS, RECOVERY_MS, UNAFFECTED); for (f = 0; f < 3; f++) { /* -16 and -4 dB */ |