more MTC debugging
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 27 Jan 2010 00:20:15 +0000 (00:20 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 27 Jan 2010 00:20:15 +0000 (00:20 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6564 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/mtc_slave.cc

index c713925475a26eda9391044a494b37a93e2d7c37..d5ffd56c4f5b08e7ff3e77439039769e11cfacf8 100644 (file)
@@ -186,6 +186,8 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, nframes_t now)
                session.timecode_to_sample (timecode, mtc_frame, true, false);
                session.request_locate (mtc_frame, false);
                session.request_transport_speed (0);
+               DEBUG_TRACE (DEBUG::MTC, string_compose ("reset MTC status to stopped, outside MTC window (%1 .. %2 vs. %3)",
+                                                        window_begin, window_end, mtc_frame));
                update_mtc_status (MIDI::MTC_Stopped);
                reset_window (mtc_frame);
                reset ();