From 767c0238a34ef4acc4d345e88cd5ddb0c8a8e421 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Dec 2014 14:28:03 -0500 Subject: Replace half-baked param metadata with descriptor. Among other things, this means that automation controls/lists have the actual min/max/normal/toggled of parameters, and not those inferred from the Parameter ID, which is not correct for things like plugin parameters. Pushing things down to the Evoral::ParmeterDescriptor may be useful in the future to have lists do smarter things based on parameter range, but currently I have just pushed down the above-mentioned currently used attributes. --- libs/ardour/automation_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/automation_control.cc') diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index e21fda6874..773fd3f40c 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -35,7 +35,7 @@ AutomationControl::AutomationControl(ARDOUR::Session& s boost::shared_ptr list, const string& name) : Controllable (name.empty() ? EventTypeMap::instance().to_symbol(parameter) : name) - , Evoral::Control(parameter, list) + , Evoral::Control(parameter, desc, list) , _session(session) , _desc(desc) { -- cgit v1.2.3