summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-27 00:53:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-27 00:53:34 +0000
commitb7e24583d99cca105feeaa84cb38e2725a511e6c (patch)
tree2a5a625b9a8d45c62bc8976d58e94a5a2efc8a14 /libs
parentc42d0a5fa424c6cb8e45b76776e4fe824a116518 (diff)
more MTC debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@6566 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/mtc_slave.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc
index 13f0bb0a3d..0dbad54dc5 100644
--- a/libs/ardour/mtc_slave.cc
+++ b/libs/ardour/mtc_slave.cc
@@ -115,6 +115,7 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, nframes_t now)
*/
if (now) {
+ DEBUG_TRACE (DEBUG::MTC, string_compose ("update MTC time does a reset, was full ? %1 now = %2\n", was_full, now));
maybe_reset ();
}
@@ -180,7 +181,7 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, nframes_t now)
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC time timestamp = %1 TC %2 = frame %3 (from full message ? %4)\n",
now, timecode, mtc_frame, was_full));
-
+
if (was_full || outside_window (mtc_frame)) {
session.timecode_to_sample (timecode, mtc_frame, true, false);
@@ -488,6 +489,7 @@ MTC_Slave::maybe_reset ()
reset_lock.lock ();
if (reset_pending) {
+ DEBUG_TRACE (DEBUG::MTC, "actually reset\n");
reset ();
reset_pending = 0;
}