shithub: aubio

Download patch

ref: b6690669a892969ec99a67d3dac4070b08c73262
parent: b67e715f833a930125968b8ccdc33380ac530d97
author: Paul Brossier <piem@piem.org>
date: Sun Mar 26 11:58:41 EDT 2017

src/synth/wavetable.c: always clamp wavetable

--- a/src/synth/wavetable.c
+++ b/src/synth/wavetable.c
@@ -103,7 +103,7 @@
     for (i = 0; i < output->length; i++) {
       output->data[i] += input->data[i];
     }
-    fvec_clamp(obuf, 1.);
+    fvec_clamp(output, 1.);
   }
 }