clap

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

commit e225f211d39bda34ae04c89c115e42e02d38f09e
parent 2ba5ecf1cae7c4daa4b9bb9d6c4eb9f1dbe9ce6c
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 19 Dec 2022 18:33:46 +0100

audio-port-activation: change the design

Diffstat:
Minclude/clap/ext/draft/audio-ports-activation.h | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/clap/ext/draft/audio-ports-activation.h b/include/clap/ext/draft/audio-ports-activation.h @@ -38,7 +38,11 @@ typedef struct clap_plugin_audio_ports_activation { bool(CLAP_ABI *can_activate_while_processing)(const clap_plugin_t *plugin); // Activate the given port. - // [main-thread] + // + // It is only possible to activate on the audio-thread if can_activate_while_processing() returns + // true. + // + // [active ? audio-thread : main-thread] void(CLAP_ABI *set_active)(const clap_plugin_t *plugin, bool is_input, uint32_t port_index,