commit c9ac92f31f2ef07e49e0ffc259ab5f731fb6e619
parent 3410aabf7d91e317621514a6bb10341c03250ad2
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Fri, 15 Jul 2022 10:21:43 +0200
voice-info: add CLAP_VOICE_INFO_CAN_CHANNEL_ROBBIN
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/clap/ext/voice-info.h b/include/clap/ext/voice-info.h
@@ -19,6 +19,10 @@ enum {
// Allows the host to send overlapping NOTE_ON events.
// The plugin will then rely upon the note_id to distinguish between them.
CLAP_VOICE_INFO_SUPPORTS_OVERLAPPING_NOTES = 1 << 0,
+
+ // Allows the host to use any channel for notes, this is useful for having multiple notes on the
+ // same key receiving polyphonic modulation when the note_id isn't supported.
+ CLAP_VOICE_INFO_CAN_CHANNEL_ROBBIN = 1 << 1,
};
typedef struct clap_voice_info {