commit c028842acdba8daf766b5a0b9722c5659f803ec5
parent 5373682cca46905b4bdd3615398950bebf5aa938
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Tue, 13 Jul 2021 15:46:09 +0200
Update note expression
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -22,7 +22,8 @@ enum {
CLAP_EVENT_MIDI, // midi attribute
CLAP_EVENT_MIDI_SYSEX, // midi attribute
};
-typedef int32_t clap_event_type;
+typedef int32_t clap_event_type;
+
typedef uint32_t clap_id;
static const clap_id CLAP_INVALID_ID = UINT32_MAX;
@@ -61,7 +62,7 @@ typedef struct clap_event_note_expression {
int32_t key;
int32_t channel;
- double * values; // see expression for the range
+ double value; // see expression for the range
uint32_t period;
uint32_t count;
} clap_event_note_expression;