diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-27 00:17:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-27 00:17:01 +0000 |
commit | 6236cf7df25991518dba783661df3947114a6289 (patch) | |
tree | 1ec369bb13f7c41bea2137b1208120750a6d0a5b | |
parent | 40a6c4f1a09c3bb31afe9668b347c683efb2cf06 (diff) |
more debug
git-svn-id: svn://localhost/ardour2/branches/3.0@6563 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/midi++2/mtc.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/midi++2/mtc.cc b/libs/midi++2/mtc.cc index e12608de7d..d7c089eecd 100644 --- a/libs/midi++2/mtc.cc +++ b/libs/midi++2/mtc.cc @@ -129,14 +129,17 @@ Parser::process_mtc_quarter_frame (byte *msg) /* third quarter frame */ - // cerr << "second seen qframe = " << (int) which_quarter_frame << endl; - +#ifdef DEBUG_MTC + cerr << "second seen qframe = " << (int) which_quarter_frame << endl; +#endif if (last_qtr_frame < which_quarter_frame) { _mtc_running = MTC_Forward; } else if (last_qtr_frame > which_quarter_frame) { _mtc_running = MTC_Backward; } - +#ifdef DEBUG_MTC + cerr << "Send MTC status as " << _mtc_running << endl; +#endif mtc_status (_mtc_running); } |