commit 31a4e93a16036038acf51288e7b02f53f9c2107a
parent a8a74677c48eff84d5873470b5afa7d7c13d9656
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sat, 29 Jan 2022 13:51:40 +0100
Fix documentation
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h
@@ -21,9 +21,9 @@
///
/// 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_PARAM_BEGIN_ADJUST to mark the begining of automation recording
-/// - set the flag CLAP_EVENT_PARAM_END_ADJUST to mark the end of automation recording
-/// - set the flag CLAP_EVENT_PARAM_SHOULD_RECORD if the event should be recorded
+/// - 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
///
/// @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,
@@ -55,7 +55,7 @@
/// - if the plugin is not processing, call clap_host_params->request_flush() or
/// clap_host->request_process().
/// - send an automation event and don't forget to set begin_adjust, end_adjust and should_record
-/// attributes
+/// flags
/// - the plugin is responsible to send the parameter value to its audio processor
///
/// IV. Turning a knob via automation