commit 7c262a5c324594e9c5c9068dad50983cdaf99788
parent b923e8402bb7a8ad96d7906eafe98e75af080eb1
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Thu, 5 May 2022 17:23:51 +0200
Fix plugin-template
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugin-template.c b/src/plugin-template.c
@@ -10,6 +10,7 @@
#include <clap/clap.h>
static const clap_plugin_descriptor_t s_my_plug_desc = {
+ .clap_version = CLAP_VERSION_INIT,
.id = "com.your-company.YourPlugin",
.name = "Plugin Name",
.vendor = "Vendor",
@@ -337,7 +338,7 @@ static const void *entry_get_factory(const char *factory_id) {
}
CLAP_EXPORT const clap_plugin_entry_t clap_entry = {
- .clap_version = CLAP_VERSION,
+ .clap_version = CLAP_VERSION_INIT,
.init = entry_init,
.deinit = entry_deinit,
.get_factory = entry_get_factory,