commit 22f33ef71b6032480c98b11e9a9deab1aa2ca4b3
parent fb5f9a825c24850330683bd3d23f6b6551b26a9d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Fri, 15 Jul 2022 08:37:55 +0200
Shift context type by one, so we have the chance to use 0 in the future for "project" context
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/clap/ext/draft/state-context.h b/include/clap/ext/draft/state-context.h
@@ -31,10 +31,10 @@ static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT[] = "clap.state-context.
enum clap_plugin_state_context_type {
// suitable for duplicating a plugin instance
- CLAP_STATE_CONTEXT_FOR_DUPLICATE = 0,
+ CLAP_STATE_CONTEXT_FOR_DUPLICATE = 1,
// suitable for loading a state as a preset
- CLAP_STATE_CONTEXT_FOR_PRESET = 1,
+ CLAP_STATE_CONTEXT_FOR_PRESET = 2,
};
typedef struct clap_plugin_state_context {