examples/aubioonset.c: only play onset for now
authorPaul Brossier <piem@piem.org>
Sun, 17 Nov 2013 17:00:28 +0000 (18:00 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 17 Nov 2013 17:00:28 +0000 (18:00 +0100)
examples/aubioonset.c

index 114f8cc..dd30574 100644 (file)
@@ -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 */
     }