commit 87e181ecda0f3a72129e50c0686cc2eda41984a9
parent 48c6de6170141cf17341a76ab0574813b8c63ccf
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sat, 12 Mar 2022 19:42:51 +0100
Negate SHOULD_RECORD
Diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -25,8 +25,11 @@ enum clap_event_flags {
// indicate a live momentary event
CLAP_EVENT_IS_LIVE = 1 << 0,
- // should record this event be recorded?
- CLAP_EVENT_SHOULD_RECORD = 1 << 1,
+ // indicate that the event should not be recorded.
+ // For example this is useful when a parameter changes because of a MIDI CC,
+ // because if the host records both the MIDI CC automation and the parameter
+ // automation there will be a conflict.
+ CLAP_EVENT_DONT_RECORD = 1 << 1,
};
// Some of the following events overlap, a note on can be expressed with:
@@ -73,7 +76,7 @@ enum {
CLAP_EVENT_PARAM_MOD,
// uses clap_event_param_gesture
- // Indicates that the knob is begining to be adjusted, or that the adjustement ended.
+ // Indicates that a parameter gesture begun or ended.
CLAP_EVENT_PARAM_GESTURE_BEGIN,
CLAP_EVENT_PARAM_GESTURE_END,
@@ -166,7 +169,6 @@ typedef struct clap_event_param_gesture {
// target parameter
clap_id param_id; // @ref clap_param_info.id
void *cookie; // @ref clap_param_info.cookie
-
} clap_event_param_gesture_t;
enum clap_transport_flags {