From: Paul Brossier Date: Thu, 15 Oct 2009 13:09:07 +0000 (+0200) Subject: src/pitch: cosmetic changes X-Git-Tag: bzr2git~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9b5009354c63d8ac97b1aa0808591a8728b54e8;p=aubio.git src/pitch: cosmetic changes --- diff --git a/src/pitch/pitchdetection.h b/src/pitch/pitchdetection.h index fe92d013..fa013fd4 100644 --- a/src/pitch/pitchdetection.h +++ b/src/pitch/pitchdetection.h @@ -88,8 +88,8 @@ aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate, - aubio_pitchdetection_type type, - aubio_pitchdetection_mode mode); + aubio_pitchdetection_type pitch_type, + aubio_pitchdetection_mode pitch_mode); #ifdef __cplusplus } diff --git a/src/pitch/pitchschmitt.h b/src/pitch/pitchschmitt.h index 198ad7ee..676b22f7 100644 --- a/src/pitch/pitchschmitt.h +++ b/src/pitch/pitchschmitt.h @@ -48,13 +48,13 @@ typedef struct _aubio_pitchschmitt_t aubio_pitchschmitt_t; \param output pitch period estimates, in samples */ -void aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * input, fvec_t * output); +void aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * in, fvec_t * out); /** creation of the pitch detection object \param size size of the input buffer to analyse */ -aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size); +aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t bufsize); /** deletion of the pitch detection object \param p pitch detection object as returned by new_aubio_pitchschmitt diff --git a/src/pitch/pitchyin.h b/src/pitch/pitchyin.h index 797a733b..76189660 100644 --- a/src/pitch/pitchyin.h +++ b/src/pitch/pitchyin.h @@ -61,7 +61,7 @@ void del_aubio_pitchyin (aubio_pitchyin_t * o); \param tol tolerance parameter for minima selection [default 0.85] */ -void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t *in, fvec_t *out); +void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * in, fvec_t * out); /** set tolerance parameter for YIN algorithm @@ -78,7 +78,7 @@ uint_t aubio_pitchyin_set_tolerance (aubio_pitchyin_t *o, smpl_t tol); \return tolerance parameter for minima selection [default 0.15] */ -smpl_t aubio_pitchyin_get_tolerance (aubio_pitchyin_t *o); +smpl_t aubio_pitchyin_get_tolerance (aubio_pitchyin_t * o); #ifdef __cplusplus } diff --git a/src/pitch/pitchyinfft.h b/src/pitch/pitchyinfft.h index 44c557e4..7bc1d629 100644 --- a/src/pitch/pitchyinfft.h +++ b/src/pitch/pitchyinfft.h @@ -48,7 +48,7 @@ typedef struct _aubio_pitchyinfft_t aubio_pitchyinfft_t; \param output pitch period candidates, in samples */ -void aubio_pitchyinfft_do (aubio_pitchyinfft_t *p, fvec_t * input, fvec_t * output); +void aubio_pitchyinfft_do (aubio_pitchyinfft_t *p, fvec_t * in, fvec_t * out); /** creation of the pitch detection object \param bufsize size of the input buffer to analyse