From c21332df7146008f359ae52918f2695b39c6b3b8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 21 Sep 2016 17:18:48 -0500 Subject: gain controls are supposed to be "gain-like" --- libs/ardour/automation_control.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libs/ardour/automation_control.cc') 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 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); -- cgit v1.2.3