commit 8e72ff666e92754c77c7f5651bc5435748ce8897
parent 0d78854bd1594ccf7aca22fcee2880e68e92f384
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Wed, 23 Jun 2021 14:01:37 +0200
This was not necessary
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/clap/ext/state.h b/include/clap/ext/state.h
@@ -19,14 +19,12 @@ typedef struct clap_plugin_state {
// Returns true if the state was correctly restored.
// [main-thread]
bool (*load)(const clap_plugin *plugin, clap_istream *stream);
-
- // [main-thread]
- bool (*is_dirty)(const clap_plugin *plugin);
} clap_plugin_state;
typedef struct clap_host_state {
// Tell the host that the plugin state has changed and should be saved again.
- // [thread-safe]
+ // If a parameter value changes, then it is implicit that the state is dirty.
+ // [main-thread]
void (*mark_dirty)(const clap_host *host);
} clap_host_state;