[wavetable] stop sets playing to 0
authorPaul Brossier <piem@piem.org>
Sun, 28 Oct 2018 22:45:14 +0000 (23:45 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 28 Oct 2018 23:00:41 +0000 (00:00 +0100)
src/synth/wavetable.c

index 04d1dd4..f7237c2 100644 (file)
@@ -164,7 +164,7 @@ uint_t aubio_wavetable_stop ( aubio_wavetable_t * s )
   //aubio_wavetable_set_freq (s, 0.);
   aubio_wavetable_set_amp (s, 0.);
   //s->last_pos = 0;
-  return aubio_wavetable_set_playing (s, 1);
+  return aubio_wavetable_set_playing (s, 0);
 }
 
 uint_t aubio_wavetable_set_freq ( aubio_wavetable_t * s, smpl_t freq )