From 778f5f2b6d8b980597a0539ad817cbe19ab97261 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 May 2015 12:23:01 -0400 Subject: [PATCH] Do not disable record (performing transport stop) during locate request when MTC source is activated This is required for the case when we leave Tracks ready for record and then activate MTC source. --- libs/ardour/session_transport.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 1c9293c760..ce9f4fe35b 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1035,8 +1035,9 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool */ bool transport_was_stopped = !transport_rolling(); - - if (transport_was_stopped && (!auto_play_legal || !config.get_auto_play()) && !with_roll && !(synced_to_engine() && play_loop)) { + + if (transport_was_stopped && (!auto_play_legal || !config.get_auto_play()) && !with_roll && !(synced_to_engine() && play_loop) && + (Profile->get_trx() && !(config.get_external_sync() && !synced_to_engine()))) { realtime_stop (false, true); // XXX paul - check if the 2nd arg is really correct transport_was_stopped = true; } else {