From 86838d1e675854cf9a89e6a1444a2416a1e3192a Mon Sep 17 00:00:00 2001 From: Xaymar Date: Tue, 5 Aug 2025 15:39:29 +0200 Subject: [PATCH] Add further documentation to vst_parameter_properties_t --- vst.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/vst.h b/vst.h index bcebe6f..37e18a1 100644 --- a/vst.h +++ b/vst.h @@ -154,8 +154,24 @@ enum VST_PARAMETER_FLAG { }; struct vst_parameter_properties_t { + /** Float Step value + * + * Only valid with VST_PARAMETER_FLAG_STEP_FLOAT + */ float step_f32; + + /** Float small step value + * This is used for "tiny" changes. + * + * Only valid with VST_PARAMETER_FLAG_STEP_FLOAT + */ float step_small_f32; + + /** Float large step value + * This is used for "huge" changes. + * + * Only valid with VST_PARAMETER_FLAG_STEP_FLOAT + */ float step_large_f32; /** Human-readable name for this parameter. @@ -170,8 +186,22 @@ struct vst_parameter_properties_t { */ uint32_t flags; + /** Minimum Integer value + * + * Only valid with VST_PARAMETER_FLAG_INTEGER_LIMITS + */ int32_t min_value_i32; + + /** Maximum Integer value + * + * Only valid with VST_PARAMETER_FLAG_INTEGER_LIMITS + */ int32_t max_value_i32; + + /** Integer Step value + * + * Only valid with VST_PARAMETER_FLAG_STEP_INT + */ int32_t step_i32; /** Short Human-readable label for this parameter.