Put this behind DEBUG ifdef

This commit is contained in:
twinaphex 2020-05-24 20:49:58 +02:00
parent 737718ba5d
commit a1752db25a

View File

@ -233,6 +233,7 @@ static void create_filter(struct eq_data *eq, unsigned size_log2,
time_filter[i] *= window_mod * kaiser_window_function(phase, beta); time_filter[i] *= window_mod * kaiser_window_function(phase, beta);
} }
#ifdef DEBUG
/* Debugging. */ /* Debugging. */
if (filter_path) if (filter_path)
{ {
@ -244,6 +245,7 @@ static void create_filter(struct eq_data *eq, unsigned size_log2,
fclose(file); fclose(file);
} }
} }
#endif
/* Padded FFT to create our FFT filter. /* Padded FFT to create our FFT filter.
* Make our even-length filter odd by discarding the first coefficient. * Make our even-length filter odd by discarding the first coefficient.