}
#endif
+/* XXX: min_val max_val redundant? (param.min() param.max()) */
AutomationList::AutomationList (Parameter id, double min_val, double max_val, double default_val)
: _parameter(id)
, _interpolation(Linear)
x = first->when + (y - first->value) / (double)slope;
- while ((inclusive && x < start) || x <= start && y != next->value) {
+ while ((inclusive && x < start) || (x <= start && y != next->value)) {
if (first->value < next->value) // ramping up
y += 1.0;