From 24dc867c59e0873aae9cc699ef2fe114b519f8f3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 26 Oct 2018 10:56:48 +0200 Subject: [PATCH] [pitchscale] wrap long lines --- src/effects/pitchshift_rubberband.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/effects/pitchshift_rubberband.c b/src/effects/pitchshift_rubberband.c index 4acbf6fc..9941eee1 100644 --- a/src/effects/pitchshift_rubberband.c +++ b/src/effects/pitchshift_rubberband.c @@ -78,7 +78,8 @@ new_aubio_pitchshift (const char_t * mode, 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 @@ aubio_pitchshift_do (aubio_pitchshift_t * p, const fvec_t * in, fvec_t * out) 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); } -- 2.11.0