src/pitch: cosmetic changes
authorPaul Brossier <piem@piem.org>
Thu, 15 Oct 2009 13:09:07 +0000 (15:09 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 15 Oct 2009 13:09:07 +0000 (15:09 +0200)
src/pitch/pitchdetection.h
src/pitch/pitchschmitt.h
src/pitch/pitchyin.h
src/pitch/pitchyinfft.h

index fe92d01..fa013fd 100644 (file)
@@ -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
 }
index 198ad7e..676b22f 100644 (file)
@@ -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 
index 797a733..7618966 100644 (file)
@@ -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
 }
index 44c557e..7bc1d62 100644 (file)
@@ -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