summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-09-21 17:18:48 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-21 17:18:48 -0500
commitc21332df7146008f359ae52918f2695b39c6b3b8 (patch)
tree7b70f2833e1fdfde0f86ef47dd0f4653affce68e /libs/ardour/automation_control.cc
parenta957d058e4b64317a62b6f28307bfa52c0510194 (diff)
gain controls are supposed to be "gain-like"
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r--libs/ardour/automation_control.cc8
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);