Float parameters are sometimes required to be normalized within 0.0 and 1.0
This commit is contained in:
@@ -153,8 +153,14 @@ enum VST_PARAMETER_FLAG {
|
||||
_VST_PARAMETER_FLAG_PAD = 0xFFFFFFFFul,
|
||||
};
|
||||
|
||||
/** Information about a parameter
|
||||
*
|
||||
* Note: Some hosts and plug-ins expect float parameters to be normalized within 0.0 and 1.0.
|
||||
*/
|
||||
struct vst_parameter_properties_t {
|
||||
/** Float Step value
|
||||
*
|
||||
* Some hosts and plug-ins expect this to be within 0 and 1.0.
|
||||
*
|
||||
* Only valid with VST_PARAMETER_FLAG_STEP_FLOAT
|
||||
*/
|
||||
@@ -163,6 +169,8 @@ struct vst_parameter_properties_t {
|
||||
/** Float small step value
|
||||
* This is used for "tiny" changes.
|
||||
*
|
||||
* Some hosts and plug-ins expect this to be within 0 and 1.0.
|
||||
*
|
||||
* Only valid with VST_PARAMETER_FLAG_STEP_FLOAT
|
||||
*/
|
||||
float step_small_f32;
|
||||
@@ -170,6 +178,8 @@ struct vst_parameter_properties_t {
|
||||
/** Float large step value
|
||||
* This is used for "huge" changes.
|
||||
*
|
||||
* Some hosts and plug-ins expect this to be within 0 and 1.0.
|
||||
*
|
||||
* Only valid with VST_PARAMETER_FLAG_STEP_FLOAT
|
||||
*/
|
||||
float step_large_f32;
|
||||
|
||||
Reference in New Issue
Block a user