ref: 5562154dbde29541c304ff627a613a337f23a90a
parent: a763e22e36e24a311be86e6898e9ee08b484b65f
author: Erik de Castro Lopo <erikd@miles>
date: Tue Aug 2 09:33:07 EDT 2005
calc_snr.c : Fix a compile problem when FFTW is not present.
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
Improve calculation of input_index.
Fix updating of input_index (thanks to Stas Sergeev).
+ * tests/calc_snr.c
+ Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
+
2005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac src/Makefile.am
--- a/tests/calc_snr.c
+++ b/tests/calc_snr.c
@@ -228,11 +228,12 @@
#else /* ! (HAVE_LIBFFTW && HAVE_LIBRFFTW) */
double
-calculate_snr (float *data, int len)
+calculate_snr (float *data, int len, int expected_peaks)
{ double snr = 200.0 ;
data = data ;
len = len ;
+ expected_peaks = expected_peaks ;
return snr ;
} /* calculate_snr */