summaryrefslogtreecommitdiff
path: root/libs/midi++2/mtc.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-30 19:01:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-30 19:01:13 +0000
commitd1a75f494f039efc6741f00949feef96c5f9c6a0 (patch)
tree26bffeef539f28b5fc41a4ff179136c739b31238 /libs/midi++2/mtc.cc
parentc925d32474f5de1da5add4346ecf9d9774c9605a (diff)
show qtr MTC bytes before they are dispatched as a signal
git-svn-id: svn://localhost/ardour2/branches/3.0@6224 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/mtc.cc')
-rw-r--r--libs/midi++2/mtc.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/midi++2/mtc.cc b/libs/midi++2/mtc.cc
index 1dd023a2f2..b737d5e2ac 100644
--- a/libs/midi++2/mtc.cc
+++ b/libs/midi++2/mtc.cc
@@ -286,6 +286,11 @@ Parser::process_mtc_quarter_frame (byte *msg)
*/
if (consecutive_qtr_frame_cnt >= 8) {
+ cerr << hex;
+ for (size_t xx = 0; xx < sizeof (_qtr_mtc_time); ++xx) {
+ cerr << (int) _qtr_mtc_time[xx] << ' ';
+ }
+ cerr << dec << endl;
memcpy (_mtc_time, _qtr_mtc_time, sizeof (_mtc_time));
memset (_qtr_mtc_time, 0, sizeof (_qtr_mtc_time));
if (!_mtc_locked) {