From: Paul Davis Date: Mon, 4 Jul 2016 13:26:44 +0000 (-0400) Subject: 2nd part of previous commit X-Git-Tag: 5.0-pre1~349 X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=97f0415130ec9db02d449a83dbfa3969b975b529 2nd part of previous commit --- diff --git a/libs/ardour/session_rtevents.cc b/libs/ardour/session_rtevents.cc index 3c905299b8..8dba60f0e5 100644 --- a/libs/ardour/session_rtevents.cc +++ b/libs/ardour/session_rtevents.cc @@ -38,6 +38,12 @@ void Session::set_controls (boost::shared_ptr cl, double val, Controllable::GroupControlDisposition gcd) { std::cerr << "Session::set_controls called on " << cl->size() << " controls, group = " << enum_2_string (gcd) << std::endl; + + for (ControlList::iterator ci = cl->begin(); ci != cl->end(); ++ci) { + /* as of july 2017 this is a no-op for everything except record enable */ + (*ci)->do_pre_realtime_queue_stuff (val); + } + queue_event (get_rt_event (cl, val, gcd)); }