summaryrefslogtreecommitdiff
path: root/libs/ardour/mididm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/mididm.cc')
-rw-r--r--libs/ardour/mididm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/mididm.cc b/libs/ardour/mididm.cc
index 0123b0847f..53cf5d71b6 100644
--- a/libs/ardour/mididm.cc
+++ b/libs/ardour/mididm.cc
@@ -50,7 +50,7 @@ int MIDIDM::process (pframes_t nframes, PortEngine &pe, void *midi_in, void *mid
/* process incoming */
const pframes_t nevents = pe.get_midi_event_count (midi_in);
-#if 1 //DEBUG
+#if 0 //DEBUG
printf("MIDI SEND: @%8"PRId64", recv: %d systime:%"PRId64"\n", _monotonic_cnt, nevents, g_get_monotonic_time());
#endif
for (pframes_t n = 0; n < nevents; ++n) {
@@ -69,7 +69,7 @@ int MIDIDM::process (pframes_t nframes, PortEngine &pe, void *midi_in, void *mid
const int64_t tc = (_monotonic_cnt + timestamp) & MASK;
const int64_t ti = ((buf[2] & 0x7f) << 7) | (buf[1] & 0x7f);
const int64_t tdiff = (MODX + tc - ti) % MODX;
-#if 1 //DEBUG
+#if 0 //DEBUG
printf("MIDI DELAY: # %5"PRId64" %5"PRId64" [samples] (%5"PRId64" - %8"PRId64") @(%5"PRId64" + %d)\n",
_cnt_total, tdiff, tc, ti, _monotonic_cnt, timestamp);
#endif