History

calc_snr.c : Fix a compile problem when FFTW is not present.

Erik de Castro Lopo committed 21 years ago

Commit 55621541 parent a763e222 files · +5 −1Browse files

Unified · Split

2 files
  1. ChangeLog +3 −0
  2. tests/calc_snr.c +2 −1
ChangeLog+3−0
@@ -7,6 +7,9 @@ · 6 unmodified lines
77 Improve calculation of input_index.
88 Fix updating of input_index (thanks to Stas Sergeev).
99
10+ * tests/calc_snr.c
11+ Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
12+
1013 2005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1114
1215 * configure.ac src/Makefile.am
tests/calc_snr.c+2−1
@@ -228,11 +228,12 @@ log_mag_spectrum (double *input, int len, double *magnitude) · 227 unmodified lines
228228 #else /* ! (HAVE_LIBFFTW && HAVE_LIBRFFTW) */
229229
230230 double
231−calculate_snr (float *data, int len)
231+calculate_snr (float *data, int len, int expected_peaks)
232232 { double snr = 200.0 ;
233233
234234 data = data ;
235235 len = len ;
236+ expected_peaks = expected_peaks ;
236237
237238 return snr ;
238239 } /* calculate_snr */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t