summaryrefslogtreecommitdiff
path: root/libs/ardour/mididm.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-06-16 23:58:52 +0200
committerRobin Gareus <robin@gareus.org>2014-06-16 23:58:52 +0200
commite426c603b679903502989b2b36966e3fb2facd23 (patch)
treea377dac8be08f902efd98b606540d444eafa9f68 /libs/ardour/mididm.cc
parent33ea2d25f1e11bf97f36053eaa367c2e121ae8fe (diff)
remove debug output
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