commit d08f576a96dbf9ab0cdffc5b14609b84eb3227e3
parent 927309abee88d8dbb255e6a425197dc6fb55eb78
Author: trinitou <debuggleburger@gmail.com>
Date: Sun, 4 Dec 2022 12:24:04 +0100
Triggers are always automatable
Diffstat:
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/include/clap/ext/draft/triggers.h b/include/clap/ext/draft/triggers.h
@@ -20,28 +20,17 @@ extern "C" {
/// - trigger an envelope during voice lifetime
enum {
- // When set:
- // - trigger events can be recorded
- // - trigger events can be played back
- //
- // The host can send live user trigger events regardless of this flag.
- //
- // If this trigger affects the internal processing structure of the plugin, ie: max delay, fft
- // size, ... and the plugins needs to re-allocate its working buffers, then it should call
- // host->request_restart(), and perform the change once the plugin is re-activated.
- CLAP_TRIGGER_IS_AUTOMATABLE = 1 << 0,
-
// Does this trigger support per note automations?
- CLAP_TRIGGER_IS_AUTOMATABLE_PER_NOTE_ID = 1 << 1,
+ CLAP_TRIGGER_IS_AUTOMATABLE_PER_NOTE_ID = 1 << 0,
// Does this trigger support per key automations?
- CLAP_TRIGGER_IS_AUTOMATABLE_PER_KEY = 1 << 2,
+ CLAP_TRIGGER_IS_AUTOMATABLE_PER_KEY = 1 << 1,
// Does this trigger support per channel automations?
- CLAP_TRIGGER_IS_AUTOMATABLE_PER_CHANNEL = 1 << 3,
+ CLAP_TRIGGER_IS_AUTOMATABLE_PER_CHANNEL = 1 << 2,
// Does this trigger support per port automations?
- CLAP_TRIGGER_IS_AUTOMATABLE_PER_PORT = 1 << 4,
+ CLAP_TRIGGER_IS_AUTOMATABLE_PER_PORT = 1 << 3,
};
typedef uint32_t clap_trigger_info_flags;