From 36e32e564126e4587e3c2bee829c58876e65d285 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 21 Jun 2017 13:40:41 +0200 Subject: Remove separate ControlList min/max/default, use ParameterDescriptor. --- libs/ardour/automation_list.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libs/ardour/automation_list.cc') 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) { -- cgit v1.2.3