From 90e5220fa61839c7f7f9c1940181df2001f8d89f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 4 Feb 2019 11:23:56 -0700 Subject: [PATCH] reset "current" in LTC transport master when necessary --- libs/ardour/ltc_slave.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 0af5aa4a03..4f018bb3c5 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -196,10 +196,12 @@ LTC_TransportMaster::resync_latency() void LTC_TransportMaster::reset (bool with_position) { - DEBUG_TRACE (DEBUG::LTC, "LTC reset()\n"); + DEBUG_TRACE (DEBUG::LTC, string_compose ("LTC reset() with pos ? %1\n", with_position)); if (with_position) { current.update (current.position, 0, current.speed); _current_delta = 0; + } else { + current.reset (); } transport_direction = 0; sync_lock_broken = false;