diff options
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index e27da6ab08..9a6590ebe8 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -49,8 +49,10 @@ AutomationControl::AutomationControl(ARDOUR::Session& s const Evoral::Parameter& parameter, const ParameterDescriptor& desc, boost::shared_ptr<ARDOUR::AutomationList> list, - const string& name) - : Controllable (name.empty() ? EventTypeMap::instance().to_symbol(parameter) : name) + const string& name, + Controllable::Flag flags) + + : Controllable (name.empty() ? EventTypeMap::instance().to_symbol(parameter) : name, flags) , Evoral::Control(parameter, desc, list) , _session(session) , _desc(desc) @@ -123,7 +125,7 @@ AutomationControl::actually_set_value (double value, PBD::Controllable::GroupCon Control::set_double (value, _session.transport_frame(), to_list); //AutomationType at = (AutomationType) _parameter.type(); - //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value + //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value //<< " (was " << old_value << ") @ " << this << std::endl; Changed (true, gcd); |