[tests] add run_on_default_source_and_sink helper
[aubio.git] / examples / aubiotrack.c
index 36267cf..d4a1de7 100644 (file)
@@ -46,10 +46,11 @@ void process_block(fvec_t * ibuf, fvec_t *obuf) {
   } else {
     aubio_wavetable_stop ( wavetable );
   }
-  if (mix_input)
+  if (mix_input) {
     aubio_wavetable_do (wavetable, ibuf, obuf);
-  else
+  } else {
     aubio_wavetable_do (wavetable, obuf, obuf);
+  }
 }
 
 void process_print (void) {