From 9f3f017736c252b198a86324227e797032c76114 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Nov 2014 18:41:57 -0500 Subject: Check whether frequency controls are audible or low and provide appropriate controls. Always clamp set value to controller range. --- libs/ardour/ardour/parameter_descriptor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/parameter_descriptor.h b/libs/ardour/ardour/parameter_descriptor.h index d647183b2d..f4dc3c819c 100644 --- a/libs/ardour/ardour/parameter_descriptor.h +++ b/libs/ardour/ardour/parameter_descriptor.h @@ -43,6 +43,7 @@ struct ParameterDescriptor ParameterDescriptor(const Evoral::Parameter& parameter) : key((uint32_t)-1) , datatype(Variant::VOID) + , unit(NONE) , normal(parameter.normal()) , lower(parameter.min()) , upper(parameter.max()) @@ -66,6 +67,7 @@ struct ParameterDescriptor ParameterDescriptor() : key((uint32_t)-1) , datatype(Variant::VOID) + , unit(NONE) , normal(0) , lower(0) , upper(0) -- cgit v1.2.3