From cb48bb0e1ccdd8a8324e53e716b2058c2ef3c297 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 19 Jun 2017 12:40:51 +0200 Subject: remove min/max unbound -- LADSPA special case. This explicit case should never have existed in the first place. Plugins can always implicitly exceed the range and are expected to cope with out-of-range values (e.g. meters when fed with a peaking signal may return an out-of-bounds value) --- libs/ardour/parameter_descriptor.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/ardour/parameter_descriptor.cc') diff --git a/libs/ardour/parameter_descriptor.cc b/libs/ardour/parameter_descriptor.cc index 7acbb94772..29d13af540 100644 --- a/libs/ardour/parameter_descriptor.cc +++ b/libs/ardour/parameter_descriptor.cc @@ -44,8 +44,6 @@ ParameterDescriptor::ParameterDescriptor(const Evoral::Parameter& parameter) , integer_step(parameter.type() >= MidiCCAutomation && parameter.type() <= MidiChannelPressureAutomation) , sr_dependent(false) - , min_unbound(0) - , max_unbound(0) , enumeration(false) { ScalePoints sp; @@ -142,8 +140,6 @@ ParameterDescriptor::ParameterDescriptor() , largestep(0) , integer_step(false) , sr_dependent(false) - , min_unbound(0) - , max_unbound(0) , enumeration(false) {} -- cgit v1.2.3