diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-21 13:40:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-21 18:12:23 +0200 |
commit | 36e32e564126e4587e3c2bee829c58876e65d285 (patch) | |
tree | cd86f80407311da8b32f5fb68d1c2cce4f162e19 /libs/ardour/automation_list.cc | |
parent | cb48bb0e1ccdd8a8324e53e716b2058c2ef3c297 (diff) |
Remove separate ControlList min/max/default, use ParameterDescriptor.
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r-- | libs/ardour/automation_list.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index fbeb98fa26..f456ac210b 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -321,9 +321,6 @@ AutomationList::state (bool full) root->set_property ("automation-id", EventTypeMap::instance().to_symbol(_parameter)); root->set_property ("id", id()); - root->set_property ("default", _default_value); - root->set_property ("min-yval", _min_yval); - root->set_property ("max-yval", _max_yval); root->set_property ("interpolation-style", _interpolation); if (full) { @@ -495,10 +492,6 @@ AutomationList::set_state (const XMLNode& node, int version) _interpolation = Linear; } - if (!node.get_property (X_("default"), _default_value)) { - _default_value = 0.0; - } - if (node.get_property (X_("state"), _state)) { if (_state == Write) { _state = Off; @@ -508,14 +501,6 @@ AutomationList::set_state (const XMLNode& node, int version) _state = Off; } - if (!node.get_property (X_("min-yval"), _min_yval)) { - _min_yval = FLT_MIN; - } - - if (!node.get_property (X_("max-yval"), _max_yval)) { - _max_yval = FLT_MAX; - } - bool have_events = false; for (niter = nlist.begin(); niter != nlist.end(); ++niter) { |