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.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index a1611337fd..25a18949ee 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -40,6 +40,7 @@ AutomationControl::AutomationControl(
{
}
+/** Get the current effective `user' value based on automation state */
double
AutomationControl::get_value() const
{
@@ -47,6 +48,10 @@ AutomationControl::get_value() const
return Control::get_double (from_list, _session.transport_frame());
}
+/** Set the value and do the right thing based on automation state
+ * (e.g. record if necessary, etc.)
+ * @param value `user' value
+ */
void
AutomationControl::set_value(double value)
{