projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/: only send a last note off when using jack
[aubio.git]
/
examples
/
aubiotrack.c
diff --git
a/examples/aubiotrack.c
b/examples/aubiotrack.c
index
8667b01
..
787c308
100644
(file)
--- a/
examples/aubiotrack.c
+++ b/
examples/aubiotrack.c
@@
-88,7
+88,9
@@
int main(int argc, char **argv) {
examples_common_process((aubio_process_func_t)process_block,process_print);
// send a last note off
- send_noteon (miditap_note, 0);
+ if (usejack) {
+ send_noteon (miditap_note, 0);
+ }
del_aubio_tempo(tempo);
del_aubio_wavetable (wavetable);