From fc7043a70009d44090caa0a19b44926675fa140a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 28 Dec 2013 19:40:33 -0400 Subject: [PATCH] examples/aubiotrack.c: synth only when need be --- examples/aubiotrack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/aubiotrack.c b/examples/aubiotrack.c index 5e1be664..8bae20d2 100644 --- a/examples/aubiotrack.c +++ b/examples/aubiotrack.c @@ -35,6 +35,7 @@ void process_block(fvec_t * ibuf, fvec_t *obuf) { 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 ); -- 2.11.0