Skip to content

Commit

Permalink
require the plugin to be activated to get the latency
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Nov 30, 2023
1 parent e292447 commit b8c2e1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion include/clap/ext/latency.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b8c2e1d

Please sign in to comment.