shithub: aubio

Download patch

ref: a7e766b2966c41523fae51bd1038b11506e92823
parent: 4d733b53cd273831a5b1d3861f9ab5ff7d7227ea
author: Paul Brossier <piem@piem.org>
date: Sat Dec 14 16:41:48 EST 2013

src/synth/wavetable.c: use fvec_zeros, fmat_zeros

--- a/src/synth/wavetable.c
+++ b/src/synth/wavetable.c
@@ -97,7 +97,7 @@
       aubio_parameter_get_next_value ( s->freq );
       aubio_parameter_get_next_value ( s->amp );
     }
-    fvec_set(output, 0.);
+    fvec_zeros (output);
   }
   // add input to output if needed
   if (input && input != output) {
@@ -130,7 +130,7 @@
       aubio_parameter_get_next_value ( s->freq );
       aubio_parameter_get_next_value ( s->amp );
     }
-    fmat_set(output, 0.);
+    fmat_zeros (output);
   }
   // add output to input if needed
   if (input && input != output) {