Remove dependencies between debug, displays and mncc-console

Test functions are cleaned up, due to removed dependencies.
This commit is contained in:
Andreas Eversberg
2017-12-03 09:30:54 +01:00
parent b3866de242
commit c49ee3b2a8
16 changed files with 86 additions and 172 deletions

View File

@@ -22,7 +22,6 @@
#include <string.h>
#include <math.h>
#include "../libsample/sample.h"
#include "../libdebug/debug.h"
#include "../libfilter/iir_filter.h"
#include "emphasis.h"
@@ -61,7 +60,7 @@ int init_emphasis(emphasis_t *state, int samplerate, double cut_off)
/* exp (-2 * PI * CUT_OFF * delta_t) */
factor = exp(-2.0 * PI * cut_off / (double)samplerate); /* 1/samplerate == delta_t */
PDEBUG(DDSP, DEBUG_DEBUG, "Emphasis factor = %.3f\n", factor);
// printf("Emphasis factor = %.3f\n", factor);
state->p.factor = factor;
state->p.amp = 1.0;
state->d.factor = factor;