clap

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

commit 534c318f71fb88f53ba6f56608629fdffd6e13cf
parent d1170070b86bb696f0bce840b02ee03a42b3d44a
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Sun,  2 May 2021 11:42:33 +0200

You don't need the host when querying for a plugin descriptor

Diffstat:
Minclude/clap/clap.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -202,7 +202,7 @@ struct clap_plugin_entry { * Returns null in case of error. * The descriptor does not need to be freed. * [thread-safe] */ - const clap_plugin_descriptor *(*get_plugin_descriptor)(clap_host *host, int32_t index); + const clap_plugin_descriptor *(*get_plugin_descriptor)(int32_t index); /* Create a clap_plugin by its plugin_id. * The returned pointer must be freed by calling plugin->destroy(plugin);