commit 9583c660bfa3a9d6380f795f5e0a12992af86a20 parent 75f0c6d36ebc9c0fab291d95b782f42843ae1fd5 Author: Alexandre Bique <bique.alexandre@gmail.com> Date: Mon, 28 Mar 2022 08:50:28 +0200 Update documentation Fixes #66 Diffstat:
M | include/clap/ext/params.h | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h @@ -21,9 +21,8 @@ /// /// When the plugin changes a parameter value, it must inform the host. /// It will send @ref CLAP_EVENT_PARAM_VALUE event during process() or flush(). -/// - set the flag CLAP_EVENT_BEGIN_ADJUST to mark the begining of automation recording -/// - set the flag CLAP_EVENT_END_ADJUST to mark the end of automation recording -/// - set the flag CLAP_EVENT_SHOULD_RECORD if the event should be recorded +/// If the user is adjusting the value, don't forget to mark the begining and end +/// of the gesture by send CLAP_EVENT_PARAM_GESTURE_BEGIN and CLAP_EVENT_PARAM_GESTURE_END events. /// /// @note MIDI CCs are a tricky because you may not know when the parameter adjustment ends. /// Also if the hosts records incoming MIDI CC and parameter change automation at the same time,