mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-20 19:03:56 +02:00
Send configuration to the CLAP plugin host
This commit is contained in:
+10
-14
@@ -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{};
|
|
||||||
// // },
|
|
||||||
// });
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user