diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-09 13:41:04 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-09 16:54:21 +0200 |
commit | 17fb5bfb499108b72d2993201b6b78d2fa9009ba (patch) | |
tree | 4c02ebfab938b355499de400f7a969c93f69803b /libs/ardour/ardour/automation_control.h | |
parent | b0f68a0f5c8ee0cba1c9c2b2319c3369d5650a87 (diff) |
Prepare to eventually drop Automatable::value_as_string()
Probably due to historical reasons, there are two APIs to format a
control's value. In all both variants end up calling either
ARDOUR::value_as_string() or the Controllable's formatting function
(except for panners).
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r-- | libs/ardour/ardour/automation_control.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index 299b7d1d97..cb3b6085f4 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -116,6 +116,8 @@ class LIBARDOUR_API AutomationControl double internal_to_interface (double i) const; double interface_to_internal (double i) const; + virtual std::string get_user_string() const; + const ParameterDescriptor& desc() const { return _desc; } const ARDOUR::Session& session() const { return _session; } |