clap

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

commit 8d76d26a6b2722928bcbb21b3b4b998d7de9316f
parent 650ad6a6b0215b3f964c49a004667ad876689dfd
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Thu, 22 Dec 2022 14:22:25 +0100

Clarify plugin state after init()

Fixes #187

Diffstat:
MChangeLog.md | 4++++
Minclude/clap/plugin.h | 1+
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md @@ -1,3 +1,7 @@ +# Changes in 1.1.5 + +* [plugin.h](include/clap/plugin.h): clarify plugin state after init() + # Changes in 1.1.4 * CMake: update some targets to link against `clap` instead of `clap-core` diff --git a/include/clap/plugin.h b/include/clap/plugin.h @@ -37,6 +37,7 @@ typedef struct clap_plugin { // Must be called after creating the plugin. // If init returns false, the host must destroy the plugin instance. + // If init returns true, then the plugin is initialized and in the deactivated state. // [main-thread] bool(CLAP_ABI *init)(const struct clap_plugin *plugin);