Make event debugging a separate option.

This commit is contained in:
Jonathan Moore Liles 2008-03-22 15:20:34 -05:00
parent 7e22c27576
commit c9b604502c
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ ifeq ($(USE_LASH),1)
CXXFLAGS+=-DUSE_LASH `pkg-config --cflags lash-1.0` CXXFLAGS+=-DUSE_LASH `pkg-config --cflags lash-1.0`
endif endif
# uncomment this line to print each playback event to the console (not RT safe)
# CXXFLAGS+= -DDEBUG_EVENTS
SRCS= \ SRCS= \
canvas.C \ canvas.C \

2
jack.C
View File

@ -150,7 +150,7 @@ midi_write_event ( int port, const midievent *e )
return; return;
} }
#ifndef NDEBUG #ifdef DEBUG_EVENTS
e->pretty_print(); e->pretty_print();
#endif #endif