From 7fd05ff051f78fdd067fa68d2e06487f69d295ff Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 3 Mar 2019 10:20:27 -0700 Subject: [PATCH] expand scope of LTC_Slave::reset() to include more object state --- libs/ardour/ltc_slave.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc index 6f9a04dfbc..f43857e317 100644 --- a/libs/ardour/ltc_slave.cc +++ b/libs/ardour/ltc_slave.cc @@ -203,6 +203,8 @@ LTC_TransportMaster::reset (bool with_position) transport_direction = 0; sync_lock_broken = false; monotonic_cnt = 0; + memset (&prev_frame, 0, sizeof(LTCFrameExt)); + frames_since_reset = 0; } void