summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-19 20:50:31 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-20 00:31:10 +0200
commitcc600f7dbc5f09e0b28c7e29b1fa2084d8356740 (patch)
treed8d07ef3e635134776c64ec697e97dcc1efe6abf /src
parentde23b8be00d6987928b25bfdab461f249676f7c8 (diff)
Remove some debug output.
Diffstat (limited to 'src')
-rw-r--r--src/leqm-nrt.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/leqm-nrt.cc b/src/leqm-nrt.cc
index 136b722..2e3eed6 100644
--- a/src/leqm-nrt.cc
+++ b/src/leqm-nrt.cc
@@ -44,15 +44,6 @@
// Version 0.0.18 (C) Luca Trisciani 2011-2013, 2017-2018
// Tool from the DCP-Werkstatt Software Bundle
-
-
-// COMPILATION
-// compile for DEBUG with gcc -g -DEBUG -lsndfile -lfftw3 -lm -lpthread -lrt -o leqm-nrt leqm-nrt.cpp
-//otherwise gcc -lsndfile -lm -lpthread -lrt -o leqm-nrt leqm-nrt.c
-
-//#define DEBUG
-
-
class Sum
{
public:
@@ -340,12 +331,6 @@ Result calculate_function(
equalinterval2(freqsamples, freqresp_db, eqfreqsamples, eqfreqresp_db, number_of_filter_interpolation_points, sample_rate, origpoints, bits_per_sample);
auto eqfreqresp = convert_log_to_linear(eqfreqresp_db);
-#ifdef DEBUG
- for (int i=0; i < number_of_filter_interpolation_points; i++) {
- printf("%d\t%.2f\t%.2f\t%.6f\n", i, eqfreqsamples[i], eqfreqresp_db[i], eqfreqresp[i]);
- }
-#endif
-
auto ir = inversefft2(eqfreqresp, number_of_filter_interpolation_points);
// read through the entire file