clap

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

commit b8c2e1daea8d6a029a458c3ab18a4af76672c950
parent e292447bd0dbb265ef091178bfed9e29617ebb5b
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Thu, 30 Nov 2023 12:22:38 +0100

require the plugin to be activated to get the latency

Diffstat:
MChangeLog.md | 4++++
Minclude/clap/ext/latency.h | 2+-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.md b/ChangeLog.md @@ -1,3 +1,7 @@ +# Changes in 1.1.11 + +* [latency.h](include/clap/ext/latency.h): require the plugin to be activated to get the latency + # Changes in 1.1.10 * [params.h](include/clap/ext/params.h): add `CLAP_PARAM_IS_ENUM` flag. diff --git a/include/clap/ext/latency.h b/include/clap/ext/latency.h @@ -11,7 +11,7 @@ extern "C" { // The audio ports scan has to be done while the plugin is deactivated. typedef struct clap_plugin_latency { // Returns the plugin latency in samples. - // [main-thread] + // [main-thread & active] uint32_t(CLAP_ABI *get)(const clap_plugin_t *plugin); } clap_plugin_latency_t;