Pass pointers to IMessage objects around

Instead of serializing the actual `YaMessage`, for the reasons mentioned
in the comments. This was needed to stop iZotope VocalSynth 2 in Ardour
from segfaulting when editing parameters, because that plugin is
apparently being very naughty.
This commit is contained in:
Robbert van der Helm
2020-12-28 13:19:34 +01:00
parent 2c3312b452
commit 4226ab6e43
9 changed files with 181 additions and 53 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ Vst3PluginBridge::Vst3PluginBridge()
-> YaConnectionPoint::Notify::Response {
return plugin_proxies.at(request.instance_id)
.get()
.connection_point_proxy->notify(&request.message);
.connection_point_proxy->notify(&request.message_ptr);
},
[&](const YaHostApplication::GetName& request)
-> YaHostApplication::GetName::Response {