From e374518ca9c4643874eee3877e270eef32d95f18 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 Dec 2009 02:19:31 +0000 Subject: [PATCH] continue with MTC debugging git-svn-id: svn://localhost/ardour2/branches/3.0@6236 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/mtc_slave.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index a0830f3f06..c502cb16a2 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -156,18 +156,18 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full) frames. Also compensate for audio latency. */ - +#if 0 mtc_frame += (long) (1.75 * session.frames_per_timecode_frame()) + session.worst_output_latency(); - - double speed = compute_apparent_speed (now); + /* leave speed alone here. compute it only as we receive qtr frame messages */ + current.guard1++; current.position = mtc_frame; current.timestamp = now; - current.speed = speed; current.guard2++; DEBUG_TRACE (DEBUG::MTC, string_compose ("stored TC frame = %1 @ %2, sp = %3\n", mtc_frame, now, speed)); +#endif } last_inbound_frame = now;