Implement CLAP plugin initialization

This commit is contained in:
Robbert van der Helm
2022-09-10 16:20:19 +02:00
parent bc2bad3e94
commit 6865cbd937
10 changed files with 133 additions and 19 deletions
+4 -1
View File
@@ -78,9 +78,12 @@ struct ClapPluginInstance {
* A proxy for the native CLAP host. Stored using an `std::unique_ptr`
* because it must be created before creating the plugin instance, and the
* object cannot move after being created because of the vtable.
*
* Contains a `clap::host::SupportedHostExtensions` set just before
* `clap_plugin::init()` that allows the plugin to query host extensions
* also supported by the native host.
*/
std::unique_ptr<clap_host_proxy> host_proxy;
// TODO: Proxies for host extension objects
/**
* A dedicated thread for handling incoming audio thread function calls.