aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-01-28 18:18:44 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-02-18 21:01:12 +0100
commitbd7ccc5fa05587606757adbacb6e1bf12f12fd2c (patch)
tree9c7e5262ece40789746d680ae704712b1d17bd3d /src/test
parent71e556e7ffd9e470bde25158b42303eeb2355ff7 (diff)
Add global DC-Filter and remove all individual DC-Filters
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_emphasis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_emphasis.c b/src/test/test_emphasis.c
index c5fa1af..4d79bc2 100644
--- a/src/test/test_emphasis.c
+++ b/src/test/test_emphasis.c
@@ -64,6 +64,7 @@ int main(void)
for (i = 31.25; i < 4001; i = i * sqrt(sqrt(2.0))) {
gen_samples(samples, (double)i);
+ dc_filter(&estate, samples, SAMPLERATE);
de_emphasis(&estate, samples, SAMPLERATE);
level = get_level(samples);
printf("%s%.0f Hz: %.1f dB", debug_db(level), i, level2db(level));