shithub: aubio

Download patch

ref: 9a122641d3ce463227354550416537a5c95ece1d
parent: a72f3f19a62e279673b902525e5f4340f0c4c139
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 19:27:41 EDT 2009

src/pitch/pitchmcomb.c: hide aubio_pitch_cands

--- a/src/pitch/pitchmcomb.c
+++ b/src/pitch/pitchmcomb.c
@@ -38,6 +38,8 @@
 static sint_t aubio_pitchmcomb_sort_peak_comp(const void *x, const void *y);
 /** sort spectral_peak against their mag */
 void aubio_pitchmcomb_sort_peak(aubio_spectralpeak_t * peaks, uint_t nbins);
+/** select the best candidates */
+uint_t aubio_pitch_cands(aubio_pitchmcomb_t * p, cvec_t * fftgrain, smpl_t * cands);
 
 /** sort spectral_candidate against their comb ene */
 void aubio_pitchmcomb_sort_cand_ene(aubio_spectralcandidate_t ** candidates, uint_t nbins);
--- a/src/pitch/pitchmcomb.h
+++ b/src/pitch/pitchmcomb.h
@@ -49,8 +49,6 @@
  
 */
 smpl_t aubio_pitchmcomb_do (aubio_pitchmcomb_t * p, cvec_t * fftgrain);
-/** select the best candidates */
-uint_t aubio_pitch_cands(aubio_pitchmcomb_t * p, cvec_t * fftgrain, smpl_t * cands);
 /** creation of the pitch detection object
  
   \param bufsize size of the input buffer to analyse