From 7d493b091ae2741db39a65cc62e9d17ef57d7606 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 13 Apr 2016 17:42:07 -0400 Subject: do not route AutomationControl changes to an RT thread if we are loading a session --- libs/ardour/automation_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index 99e2f54165..97765a7070 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -280,7 +280,7 @@ AutomationControl::set_group (boost::shared_ptr cg) bool AutomationControl::check_rt (double val, Controllable::GroupControlDisposition gcd) { - if ((flags() & Controllable::RealTime) && !AudioEngine::instance()->in_process_thread()) { + if (!_session.loading() && (flags() & Controllable::RealTime) && !AudioEngine::instance()->in_process_thread()) { /* queue change in RT context */ std::cerr << "::set_value (" << val << ", " << enum_2_string (gcd) << ") called for " << enum_2_string ((AutomationType) _parameter.type()) << ", queueing in RT context\n"; _session.set_control (shared_from_this(), val, gcd); -- cgit v1.2.3