From 3c00048b0c0dbf3efd17cf04fdc7daa91424e338 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 Jan 2020 15:26:01 -0700 Subject: Session::request_locate() takes a tri-valued second argument for "roll-after-locate" This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it can be cnentralized and is less ambiguous --- libs/ardour/mtc_slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/mtc_slave.cc') diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index eded0e6dc2..c4af3f9bc7 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -431,7 +431,7 @@ MTC_TransportMaster::update_mtc_time (const MIDI::byte *msg, bool was_full, samp DEBUG_TRACE (DEBUG::MTC, string_compose ("update_mtc_time: full TC %1 or outside window %2 MTC %3\n", was_full, outside_window (mtc_frame), mtc_frame)); _session->set_requested_return_sample (-1); _session->request_transport_speed (0, TRS_MTC); - _session->request_locate (mtc_frame, false, TRS_MTC); + _session->request_locate (mtc_frame, MustStop, TRS_MTC); update_mtc_status (MIDI::MTC_Stopped); reset (false); reset_window (mtc_frame); -- cgit v1.2.3