Send configuration to the CLAP plugin host

This commit is contained in:
Robbert van der Helm
2022-08-30 14:44:39 +02:00
parent f595a48fbd
commit 8ec2996187
+10 -14
View File
@@ -46,21 +46,17 @@ ClapPluginBridge::ClapPluginBridge(const ghc::filesystem::path& plugin_path)
set_realtime_priority(true); set_realtime_priority(true);
pthread_setname_np(pthread_self(), "host-callbacks"); pthread_setname_np(pthread_self(), "host-callbacks");
// TODO: Receive callbacks // TODO: Add the rest of the callbacks
// sockets_.plugin_host_callback_.receive_messages( sockets_.plugin_host_main_thread_callback_.receive_messages(
// std::pair<ClapLogger&, bool>(logger_, false), std::pair<ClapLogger&, bool>(logger_, false),
// overload{ overload{
// // [&](const ClapContextMenuProxy::Destruct& request) [&](const WantsConfiguration& request)
// // -> ClapContextMenuProxy::Destruct::Response { -> WantsConfiguration::Response {
// // const auto& [proxy_object, _] = warn_on_version_mismatch(request.host_version);
// // get_proxy(request.owner_instance_id);
// // assert(proxy_object.unregister_context_menu( return config_;
// // request.context_menu_id)); },
});
// // return Ack{};
// // },
// });
}); });
} }