commit a99b1fe7ea8cd8159cfe7550f2f2f18df4507017
parent 45aec8237a90d9da867d4a10f5fc094548490341
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Sun, 9 Jan 2022 12:26:21 +0100
Merge branch 'main' into next
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -79,7 +79,7 @@ and use to get a basic plugin experience:
- [gui-x11](include/clap/ext/gui-x11.h), x11 specific
- [gui-free-standing](include/clap/ext/gui-free-standing.h), open the gui without embedding it into the host's window
- [timer-support](include/clap/ext/timer-support.h), lets the plugin register timer handlers
-- [fd-support](include/clap/ext/fd-support.h), lets the plugin register I/O handlers
+- [posix-fd-support](include/clap/ext/posix-fd-support.h), lets the plugin register I/O handlers
## Extra extensions
@@ -103,3 +103,4 @@ and use to get a basic plugin experience:
- [MIP2](https://github.com/skei/MIP2), host and plugins
- [clap-sys](https://github.com/glowcoil/clap-sys), rust binding
+- [schwaaa's plugin](https://github.com/schwaaa/clap-plugin), basic example for prototyping CLAP audio plugins using Dear ImGui as the user interface
+\ No newline at end of file
diff --git a/include/clap/plugin-factory.h b/include/clap/plugin-factory.h
@@ -15,8 +15,7 @@ extern "C" {
// It is very important to be able to scan the plugin as quickly as possible.
//
// If the content of the factory may change due to external events, like the user installed
-// additional modules for this plugin, then use clap_plugin_invalidation_factory.
-struct clap_plugin_factory {
+typedef struct clap_plugin_factory {
/* Get the number of plugins available.
* [thread-safe] */
uint32_t (*get_plugin_count)(const struct clap_plugin_factory *factory);
@@ -36,10 +35,10 @@ struct clap_plugin_factory {
const clap_plugin_t *(*create_plugin)(const struct clap_plugin_factory *factory,
const clap_host_t *host,
const char *plugin_id);
-};
+} clap_plugin_factory_t;
#pragma pack(pop)
#ifdef __cplusplus
}
-#endif
-\ No newline at end of file
+#endif