From f84cea78af219f4de0fc7baa9eec82073263237e Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 8 Apr 2013 10:20:19 -0500 Subject: [PATCH] src/pitch/pitchmcomb.c: use fvec_quadratic_peak_pos --- src/pitch/pitchmcomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pitch/pitchmcomb.c b/src/pitch/pitchmcomb.c index 0860c55d..3425aa0b 100644 --- a/src/pitch/pitchmcomb.c +++ b/src/pitch/pitchmcomb.c @@ -293,7 +293,7 @@ aubio_pitchmcomb_quadpick (aubio_spectralpeak_t * spectral_peaks, fvec_t * X) if (ispeak) { count += ispeak; spectral_peaks[count - 1].bin = j; - spectral_peaks[count - 1].ebin = fvec_quadint (X, j) - 1.; + spectral_peaks[count - 1].ebin = fvec_quadratic_peak_pos (X, j); } } return count; -- 2.26.2