From a7e766b2966c41523fae51bd1038b11506e92823 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 14 Dec 2013 21:41:48 -0500 Subject: [PATCH] src/synth/wavetable.c: use fvec_zeros, fmat_zeros --- src/synth/wavetable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/synth/wavetable.c b/src/synth/wavetable.c index 86497aee..c0714840 100644 --- a/src/synth/wavetable.c +++ b/src/synth/wavetable.c @@ -97,7 +97,7 @@ void aubio_wavetable_do ( aubio_wavetable_t * s, fvec_t * input, fvec_t * output 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 @@ void aubio_wavetable_do_multi ( aubio_wavetable_t * s, fmat_t * input, fmat_t * 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) { -- 2.11.0