clap

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

commit dcb57e11e88da46479ef01494e77e9b052c143fd
parent d3a7bce74306e098565d02a6c769bea43f51303c
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Mon,  7 Feb 2022 19:32:29 +0100

Rework is automatable

Diffstat:
Minclude/clap/ext/params.h | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h @@ -122,13 +122,16 @@ enum { // processed. CLAP_PARAM_REQUIRES_PROCESS = 1 << 9, - // The host should not record and play automation for this parameter. - // Though, the host can send live user changes for this parameter. + // When set: + // - automation can be recorded + // - automation can be played back + // + // The host can send live user changes for this parameter regardless of this flag. // // If this parameters affect the internal processing structure of the plugin, ie: max delay, fft // size, ... and the plugins needs to re-allocate its working buffers, then it should call // host->request_restart(), and perform the change once the plugin is re-activated. - CLAP_PARAM_NOT_AUTOMATABLE = 1 << 10, + CLAP_PARAM_IS_AUTOMATABLE = 1 << 10, }; typedef uint32_t clap_param_info_flags;