From: Paul Brossier Date: Sun, 15 Dec 2013 02:41:48 +0000 (-0500) Subject: src/synth/wavetable.c: use fvec_zeros, fmat_zeros X-Git-Tag: 0.4.0~18 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=a7e766b2966c41523fae51bd1038b11506e92823;p=aubio.git src/synth/wavetable.c: use fvec_zeros, fmat_zeros --- 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) {