shithub: aubio

Download patch

ref: 124acfb1eb07a78ddb50056c7e15c8f52fb9c65a
parent: 24198a162462b644de3e6e6783d433346d877dd3
author: Paul Brossier <piem@piem.org>
date: Wed Oct 24 14:48:25 EDT 2018

[effects] wrap long lines

--- a/src/effects/pitchshift.h
+++ b/src/effects/pitchshift.h
@@ -45,7 +45,8 @@
   \param out output pitch candidates of size [1]
 
 */
-void aubio_pitchshift_do (aubio_pitchshift_t * o, const fvec_t * in, fvec_t * out);
+void aubio_pitchshift_do (aubio_pitchshift_t * o, const fvec_t * in,
+        fvec_t * out);
 
 /** deletion of the pitch shifting object
 
@@ -86,7 +87,8 @@
   \return 0 if successfull, non-zero otherwise
 
 */
-uint_t aubio_pitchshift_set_pitchscale (aubio_pitchshift_t * o, smpl_t pitchscale);
+uint_t aubio_pitchshift_set_pitchscale (aubio_pitchshift_t * o,
+        smpl_t pitchscale);
 
 /** get the pitchscale of the pitch shifting object
 
@@ -100,13 +102,14 @@
 /** set the transposition of the pitch shifting object, in semitones
 
   \param o pitch shifting object as returned by new_aubio_pitchshift()
-  \param transpose new pitch transposition of the pitch shifting object, expressed
-  in semitones (should be in the range [-24;+24])
+  \param transpose new pitch transposition of the pitch shifting object,
+  expressed in semitones (should be in the range [-24;+24])
 
   \return 0 if successfull, non-zero otherwise
 
 */
-uint_t aubio_pitchshift_set_transpose (aubio_pitchshift_t * o, smpl_t transpose);
+uint_t aubio_pitchshift_set_transpose (aubio_pitchshift_t * o,
+        smpl_t transpose);
 
 /** get the transposition of the pitch shifting object, in semitones
 
--- a/src/effects/timestretch.h
+++ b/src/effects/timestretch.h
@@ -52,7 +52,8 @@
   \param read number of frames actually wrote out
 
 */
-void aubio_timestretch_do (aubio_timestretch_t * o, fvec_t * out, uint_t * read);
+void aubio_timestretch_do (aubio_timestretch_t * o, fvec_t * out,
+   uint_t * read);
 
 /** deletion of the time stretching object
 
@@ -83,7 +84,8 @@
   \return number of currently available samples
 
  */
-sint_t aubio_timestretch_push(aubio_timestretch_t * o, fvec_t *in, uint_t length);
+sint_t aubio_timestretch_push(aubio_timestretch_t * o, fvec_t *in,
+    uint_t length);
 
 /** get number of currently available samples from time stretching object
 
@@ -146,7 +148,8 @@
   \return 0 if successfull, non-zero otherwise
 
 */
-uint_t aubio_timestretch_set_pitchscale (aubio_timestretch_t * o, smpl_t pitchscale);
+uint_t aubio_timestretch_set_pitchscale (aubio_timestretch_t * o,
+        smpl_t pitchscale);
 
 /** get the pitchscale of the time stretching object
 
@@ -160,13 +163,15 @@
 /** set the transposition of the time stretching object, in semitones
 
   \param o time stretching object as returned by new_aubio_timestretch()
-  \param transpose new pitch transposition of the time stretching object, expressed
-  in semitones (should be in the range [-24;+24])
 
+  \param transpose new pitch transposition of the time stretching object,
+  expressed in semitones (should be in the range [-24;+24])
+
   \return 0 if successfull, non-zero otherwise
 
 */
-uint_t aubio_timestretch_set_transpose (aubio_timestretch_t * o, smpl_t transpose);
+uint_t aubio_timestretch_set_transpose (aubio_timestretch_t * o,
+        smpl_t transpose);
 
 /** get the transposition of the time stretching object, in semitones