13
0

continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6251 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-12-01 16:16:22 +00:00
parent 50131b3751
commit 194ee5d9ba

View File

@ -76,9 +76,11 @@ MTC_Slave::rebind (MIDI::Port& p)
void
MTC_Slave::update_mtc_qtr (Parser& /*p*/, int which_qtr)
{
nframes64_t now = session.engine().frame_time();
DEBUG_TRACE (DEBUG::MTC, string_compose ("qtr frame %1 at %2, valid-for-time? %3\n", which_qtr, now, qtr_frame_messages_valid_for_time));
if (qtr_frame_messages_valid_for_time) {
nframes64_t now = session.engine().frame_time();
if (which_qtr != 7) {
@ -113,7 +115,9 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full)
Timecode::Time timecode;
TimecodeFormat tc_format;
bool reset_tc = true;
DEBUG_TRACE (DEBUG::MTC, string_compose ("full mtc time known at %1, full ? %2\n", now, was_full));
timecode.hours = msg[3];
timecode.minutes = msg[2];
timecode.seconds = msg[1];