From: Paul Brossier Date: Wed, 7 Oct 2009 21:27:41 +0000 (+0200) Subject: src/pitch/pitchmcomb.c: hide aubio_pitch_cands X-Git-Tag: bzr2git~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a122641d3ce463227354550416537a5c95ece1d;p=aubio.git src/pitch/pitchmcomb.c: hide aubio_pitch_cands --- diff --git a/src/pitch/pitchmcomb.c b/src/pitch/pitchmcomb.c index ca1cc130..16a098df 100644 --- a/src/pitch/pitchmcomb.c +++ b/src/pitch/pitchmcomb.c @@ -38,6 +38,8 @@ void aubio_pitchmcomb_combdet(aubio_pitchmcomb_t * p, fvec_t * newmag); 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); diff --git a/src/pitch/pitchmcomb.h b/src/pitch/pitchmcomb.h index 9185a7f2..3f23e160 100644 --- a/src/pitch/pitchmcomb.h +++ b/src/pitch/pitchmcomb.h @@ -49,8 +49,6 @@ typedef struct _aubio_pitchmcomb_t aubio_pitchmcomb_t; */ 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