summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 189b315e20..03d75d9d79 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -178,7 +178,11 @@ Track::freeze_state() const
}
Track::RecEnableControl::RecEnableControl (boost::shared_ptr<Track> t)
- : AutomationControl (t->session(), RecEnableAutomation, boost::shared_ptr<AutomationList>(), X_("recenable"))
+ : AutomationControl (t->session(),
+ RecEnableAutomation,
+ ParameterDescriptor(Evoral::Parameter(RecEnableAutomation)),
+ boost::shared_ptr<AutomationList>(),
+ X_("recenable"))
, track (t)
{
boost::shared_ptr<AutomationList> gl(new AutomationList(Evoral::Parameter(RecEnableAutomation)));