summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r--libs/ardour/automation_control.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index 10020990c6..3ddf4172e8 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -29,12 +29,12 @@ using namespace PBD;
AutomationControl::AutomationControl(Session& session, boost::shared_ptr<AutomationList> list, string name)
- : Controllable((name == "unnamed controllable") ? list->param_id().to_string() : name)
+ : Controllable((name == "unnamed controllable") ? list->parameter().to_string() : name)
, _session(session)
, _list(list)
, _user_value(list->default_value())
{
- cerr << "Created AutomationControl " << name << "(" << list->param_id().to_string() << ")" << endl;
+ cerr << "Created AutomationControl " << name << "(" << list->parameter().to_string() << ")" << endl;
}