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/lv2_plugin.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/ardour/lv2_plugin.cc') diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 6630f06af3..1c761166e0 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -2122,9 +2122,6 @@ LV2Plugin::get_parameter_descriptor(uint32_t which, ParameterDescriptor& desc) c desc.upper *= _session.frame_rate (); } - desc.min_unbound = false; // TODO: LV2 extension required - desc.max_unbound = false; // TODO: LV2 extension required - desc.enumeration = lilv_port_has_property(_impl->plugin, port, _world.lv2_enumeration); desc.scale_points = get_scale_points(which); -- cgit v1.2.3