clap

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

commit e86cfa504d81bd12cf16198749bae0b594f43113
parent 99e00f2127fb72e140fcf34aece7c144a40bcfbc
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Fri, 28 May 2021 16:14:28 +0200

Add a generic way to request a plugin restart to the host

Diffstat:
Minclude/clap/clap.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -110,6 +110,11 @@ typedef struct clap_host { // Query an extension. // [thread-safe] const void *(*extension)(const struct clap_host *host, const char *extension_id); + + // Ask the host to deactivate and then reactivate the plugin. + // The operation may be delayed by the host. + // [thread-safe] + void (*restart_plugin)(const struct clap_host *host); } clap_host; ////////////