summaryrefslogtreecommitdiff
path: root/libs/ardour/parameter_descriptor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-19 12:40:51 +0200
committerRobin Gareus <robin@gareus.org>2017-06-21 18:12:20 +0200
commitcb48bb0e1ccdd8a8324e53e716b2058c2ef3c297 (patch)
tree263fbe26a08147af1b6cbcfa20322533ec786247 /libs/ardour/parameter_descriptor.cc
parent555fcb89e541a8aaf1beb3df234e60569a667876 (diff)
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)
Diffstat (limited to 'libs/ardour/parameter_descriptor.cc')
-rw-r--r--libs/ardour/parameter_descriptor.cc4
1 files changed, 0 insertions, 4 deletions
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)
{}