clap

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

commit b4dc455b6db4193222317fd24926fd1d1624bc76
parent 0751e423ba714ae025ab3fbd69f445333eb88d95
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Thu, 15 Dec 2022 10:30:29 +0100

param-indication: improve automation state enum

Diffstat:
Minclude/clap/ext/draft/param-indication.h | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/include/clap/ext/draft/param-indication.h b/include/clap/ext/draft/param-indication.h @@ -13,7 +13,7 @@ // The color semantic depends upon the host here and the goal is to have a consistent experience // across all plugins. -static CLAP_CONSTEXPR const char CLAP_EXT_PARAM_INDICATION[] = "clap.param-indication.draft/3"; +static CLAP_CONSTEXPR const char CLAP_EXT_PARAM_INDICATION[] = "clap.param-indication.draft/4"; #ifdef __cplusplus extern "C" { @@ -21,17 +21,20 @@ extern "C" { enum { // The host doesn't have an automation for this parameter - CLAP_PARAM_INDICATION_AUTOMATION_NONE, + CLAP_PARAM_INDICATION_AUTOMATION_NONE = 0, + + // The host has an automation for this parameter, but it isn't playing it + CLAP_PARAM_INDICATION_AUTOMATION_PRESENT = 1, // The host is playing an automation for this parameter - CLAP_PARAM_INDICATION_AUTOMATION_PLAYBACK, + CLAP_PARAM_INDICATION_AUTOMATION_PLAYING = 2, // The host is recording an automation on this parameter - CLAP_PARAM_INDICATION_AUTOMATION_RECORD, + CLAP_PARAM_INDICATION_AUTOMATION_RECORDING = 3, // The host should play an automation for this parameter, but the user has started to ajust this // parameter and is overriding the automation playback - CLAP_PARAM_INDICATION_AUTOMATION_OVERRIDE, + CLAP_PARAM_INDICATION_AUTOMATION_OVERRIDING = 4, }; typedef struct clap_plugin_param_indication {