From e426c603b679903502989b2b36966e3fb2facd23 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 16 Jun 2014 23:58:52 +0200 Subject: remove debug output --- libs/ardour/mididm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/mididm.cc') 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 -- cgit v1.2.3