+ /* this is a tweak of ControlList::automation_write ()
+ as currently MuteControllable can't be touching.
+ bool to_list = _list && ((AutomationList*)_list.get())->automation_write();
+ */
+ const AutoState as = ((AutomationList*)_list.get())->automation_state ();
+ bool to_list = _list && _session.transport_rolling () && (as == Touch || as == Write);
+
+ if (to_list) {
+ _list->set_in_write_pass(true, false, _session.audible_frame ());
+ }