DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 74214cbeaa93613b560bec876f380804aa0302ba
parent be5bb8a48757fe7b261b90110404cdbbdebad3e1
Author: falkTX <falktx@falktx.com>
Date:   Sat, 12 Jun 2021 09:47:49 +0100

Improve documentation for kParameterIsOutput

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/DistrhoPlugin.hpp | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp @@ -109,9 +109,12 @@ static const uint32_t kParameterIsLogarithmic = 0x08; Parameter is of output type.@n When unset, parameter is assumed to be of input type. - Parameter inputs are changed by the host and must not be changed by the plugin.@n - The only exception being when changing programs, see Plugin::loadProgram().@n + Parameter inputs are changed by the host and typically should not be changed by the plugin.@n + One exception is when changing programs, see Plugin::loadProgram().@n + The other exception is with parameter change requests, see Plugin::requestParameterValueChange().@n Outputs are changed by the plugin and never modified by the host. + + If you are targetting VST2, make sure to order your parameters so that all inputs are before any outputs. */ static const uint32_t kParameterIsOutput = 0x10;