shithub: aubio

Download patch

ref: 24dc867c59e0873aae9cc699ef2fe114b519f8f3
parent: 124acfb1eb07a78ddb50056c7e15c8f52fb9c65a
author: Paul Brossier <piem@piem.org>
date: Fri Oct 26 06:56:48 EDT 2018

[pitchscale] wrap long lines

--- a/src/effects/pitchshift_rubberband.c
+++ b/src/effects/pitchshift_rubberband.c
@@ -78,7 +78,8 @@
   int available = rubberband_available(p->rb);
   fvec_t *zeros = new_fvec(p->hopsize);
   while (available <= (int)latency) {
-    rubberband_process(p->rb, (const float* const*)&(zeros->data), p->hopsize, 0);
+    rubberband_process(p->rb,
+        (const float* const*)&(zeros->data), p->hopsize, 0);
     available = rubberband_available(p->rb);
   }
   del_fvec(zeros);
@@ -149,8 +150,8 @@
   if (rubberband_available(p->rb) >= (int)p->hopsize) {
     rubberband_retrieve(p->rb, (float* const*)&(out->data), p->hopsize);
   } else {
-    AUBIO_WRN("pitchshift: catching up with zeros, only %d available, needed: %d, "
-        "current pitchscale: %f\n",
+    AUBIO_WRN("pitchshift: catching up with zeros"
+        ", only %d available, needed: %d, current pitchscale: %f\n",
         rubberband_available(p->rb), p->hopsize, p->pitchscale);
     fvec_zeros(out);
   }