From: Paul Brossier Date: Sun, 17 Nov 2013 17:00:28 +0000 (+0100) Subject: examples/aubioonset.c: only play onset for now X-Git-Tag: 0.4.0-beta1~90 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c1ddeb8be6f8c5541e26339aef3998dd44966c0b;p=aubio.git examples/aubioonset.c: only play onset for now --- diff --git a/examples/aubioonset.c b/examples/aubioonset.c index 114f8cc1..dd305746 100644 --- a/examples/aubioonset.c +++ b/examples/aubioonset.c @@ -45,7 +45,7 @@ static int aubio_process(smpl_t **input, smpl_t **output, int nframes) { } else { aubio_wavetable_stop ( wavetable ); } - aubio_wavetable_do (wavetable, ibuf, obuf); + aubio_wavetable_do (wavetable, obuf, obuf); /* end of block loop */ pos = -1; /* so it will be zero next j loop */ }