13
0

continue with MTC debugging

git-svn-id: svn://localhost/ardour2/branches/3.0@6248 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-12-01 15:30:02 +00:00
parent f233c4738c
commit 35d86425ba

View File

@ -374,8 +374,8 @@ MTC_Slave::speed_and_position (double& speed, nframes64_t& pos)
if (last.timestamp && (now > last.timestamp)) {
elapsed = (nframes_t) floor (last.speed * (now - last.timestamp));
DEBUG_TRACE (DEBUG_MTC, string_compose ("last timecode received @ %1, now = %2, elapsed frames = %3 w/speed= %4\n",
last.timestamp, now, elapsed, speed);
DEBUG_TRACE (DEBUG::MTC, string_compose ("last timecode received @ %1, now = %2, elapsed frames = %3 w/speed= %4\n",
last.timestamp, now, elapsed, speed));
} else {
elapsed = 0; /* XXX is this right? */
}