From 0441bc140edaa4edb57bd1b4caf34d15b3f9a3bc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 10 Oct 2012 20:37:59 +0000 Subject: [PATCH] MTC slave, don't touch position if no MTC was received git-svn-id: svn://localhost/ardour2/branches/3.0@13232 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/mtc_slave.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index e46e9eb955..ff1bdc4583 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -561,8 +561,8 @@ MTC_Slave::speed_and_position (double& speed, framepos_t& pos) if (last.timestamp == 0) { speed = 0; - pos = last.position; - DEBUG_TRACE (DEBUG::MTC, string_compose ("first call to MTC_Slave::speed_and_position, pos = %1\n", last.position)); + pos = session.transport_frame() ; // last.position; + DEBUG_TRACE (DEBUG::MTC, string_compose ("first call to MTC_Slave::speed_and_position, pos = %1\n", pos)); return true; } -- 2.30.2