shithub: aubio

Download patch

ref: fc7043a70009d44090caa0a19b44926675fa140a
parent: f4adefaaf66eb7ea216476dd584b65452230fcfb
author: Paul Brossier <piem@piem.org>
date: Sat Dec 28 14:40:33 EST 2013

examples/aubiotrack.c: synth only when need be

--- a/examples/aubiotrack.c
+++ b/examples/aubiotrack.c
@@ -35,6 +35,7 @@
   is_beat = fvec_get_sample (tempo_out, 0);
   if (silence_threshold != -90.)
     is_silence = aubio_silence_detection(ibuf, silence_threshold);
+  if ( !usejack && ! sink_uri ) return;
   fvec_zeros (obuf);
   if ( is_beat && !is_silence ) {
     aubio_wavetable_play ( wavetable );