clap

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

commit 7c656e8d4729a363a41066c431cebaf93bd00c05
parent 6bca82f9dbf99b471e478cac54721cc66eea951c
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Fri,  9 Jul 2021 10:38:43 +0200

Add a way for the plugin to request the host to process the plugin (aka wake up)


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 @@ -114,6 +114,11 @@ typedef struct clap_host { // The operation may be delayed by the host. // [thread-safe] void (*restart_plugin)(const struct clap_host *host); + + // Request the host to activate and start processing the plugin. + // This is useful if you have external IO and need to wake up the plugin from "sleep". + // [thread-safe] + void (*request_process)(const struct clap_host *host); } clap_host; ////////////