commit f45f18cf1e2879eef015eaabd94057a59f5805a5
parent c52aeb2715aff99304bb41f113c35f724f2dfefe
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Mon, 15 Jan 2024 15:24:12 +0100
Cleanups for state context so we're compat with pre 1.2.0
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/clap/ext/state-context.h b/include/clap/ext/state-context.h
@@ -40,12 +40,13 @@ static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT_COMPAT[] = "clap.state-c
enum clap_plugin_state_context_type {
// suitable for storing and loading a state as a preset
- CLAP_STATE_CONTEXT_FOR_PRESET = 1,
+ CLAP_STATE_CONTEXT_FOR_PRESET = 2,
// suitable for duplicating a plugin instance
- CLAP_STATE_CONTEXT_FOR_DUPLICATE = 2,
+ CLAP_STATE_CONTEXT_FOR_DUPLICATE = 1,
// suitable for storing and loading a state within a project/song
+ // Available since CLAP 1.2.0.
CLAP_STATE_CONTEXT_FOR_PROJECT = 3,
};