shithub: aubio

Download patch

ref: d9b5009354c63d8ac97b1aa0808591a8728b54e8
parent: 202ffa5544e0d271747c004cb46f33c1c2a78bed
author: Paul Brossier <piem@piem.org>
date: Thu Oct 15 11:09:07 EDT 2009

src/pitch: cosmetic changes

--- a/src/pitch/pitchdetection.h
+++ b/src/pitch/pitchdetection.h
@@ -88,8 +88,8 @@
     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
 }
--- a/src/pitch/pitchschmitt.h
+++ b/src/pitch/pitchschmitt.h
@@ -48,13 +48,13 @@
   \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 
--- a/src/pitch/pitchyin.h
+++ b/src/pitch/pitchyin.h
@@ -61,7 +61,7 @@
   \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 @@
   \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
 }
--- a/src/pitch/pitchyinfft.h
+++ b/src/pitch/pitchyinfft.h
@@ -48,7 +48,7 @@
   \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