2nd part of previous commit
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:26:44 +0000 (09:26 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:27:33 +0000 (09:27 -0400)
libs/ardour/session_rtevents.cc

index 3c905299b8732bb097e6c7677c3f50ba868ecf39..8dba60f0e5cbe0017d423d80c2bad63d96a29b09 100644 (file)
@@ -38,6 +38,12 @@ void
 Session::set_controls (boost::shared_ptr<ControlList> cl, double val, Controllable::GroupControlDisposition gcd)
 {
        std::cerr << "Session::set_controls called on " << cl->size() << " controls, group = " << enum_2_string (gcd) << std::endl;
 Session::set_controls (boost::shared_ptr<ControlList> 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));
 }
 
        queue_event (get_rt_event (cl, val, gcd));
 }