projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d733b5
)
src/synth/wavetable.c: use fvec_zeros, fmat_zeros
author
Paul Brossier
<piem@piem.org>
Sun, 15 Dec 2013 02:41:48 +0000
(21:41 -0500)
committer
Paul Brossier
<piem@piem.org>
Sun, 15 Dec 2013 02:41:48 +0000
(21:41 -0500)
src/synth/wavetable.c
patch
|
blob
|
history
diff --git
a/src/synth/wavetable.c
b/src/synth/wavetable.c
index
86497ae
..
c071484
100644
(file)
--- 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) {