clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 08bc33d243fab07a3342b76d6b1c9a39e9af6501
parent b6f3d0422899c672de1b659d34ff992d181c534a
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Thu,  5 May 2022 15:32:45 +0200

Extend the note id to 32 bits

Diffstat:
Minclude/clap/events.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/clap/events.h b/include/clap/events.h @@ -117,7 +117,7 @@ typedef int32_t clap_event_type; typedef struct clap_event_note { clap_event_header_t header; - int16_t note_id; // -1 if unspecified, otherwise >0 + int32_t note_id; // -1 if unspecified, otherwise >0 int16_t port_index; int16_t key; // 0..127 int16_t channel; // 0..15 @@ -148,7 +148,7 @@ typedef struct clap_event_note_expression { clap_note_expression expression_id; // target a specific note_id, port, key and channel, -1 for global - int16_t note_id; + int32_t note_id; int16_t port_index; int16_t key; int16_t channel; @@ -164,7 +164,7 @@ typedef struct clap_event_param_value { void *cookie; // @ref clap_param_info.cookie // target a specific note_id, port, key and channel, -1 for global - int16_t note_id; + int32_t note_id; int16_t port_index; int16_t channel; int16_t key; @@ -180,7 +180,7 @@ typedef struct clap_event_param_mod { void *cookie; // @ref clap_param_info.cookie // target a specific note_id, port, key and channel, -1 for global - int16_t note_id; + int32_t note_id; int16_t port_index; int16_t channel; int16_t key;