Browse Source

Make event debugging a separate option.

tags/non-sequencer-v1.9.4
Jonathan Moore Liles 17 years ago
parent
commit
c9b604502c
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      Makefile
  2. +1
    -1
      jack.C

+ 2
- 0
Makefile View File

@@ -30,6 +30,8 @@ ifeq ($(USE_LASH),1)
CXXFLAGS+=-DUSE_LASH `pkg-config --cflags lash-1.0`
endif

# uncomment this line to print each playback event to the console (not RT safe)
# CXXFLAGS+= -DDEBUG_EVENTS

SRCS= \
canvas.C \


+ 1
- 1
jack.C View File

@@ -150,7 +150,7 @@ midi_write_event ( int port, const midievent *e )
return;
}

#ifndef NDEBUG
#ifdef DEBUG_EVENTS
e->pretty_print();
#endif



Loading…
Cancel
Save