mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Send the factory from the Wine host to the plugin
This commit is contained in:
@@ -178,7 +178,7 @@ class Vst3MessageHandler : public AdHocSocketHandler<Thread> {
|
||||
request);
|
||||
}
|
||||
|
||||
const auto response = callback(request);
|
||||
const auto& response = callback(request);
|
||||
if (logging) {
|
||||
auto [logger, is_host_vst] = *logging;
|
||||
logger.log_response(!is_host_vst, response);
|
||||
|
||||
@@ -50,7 +50,9 @@ struct WantsConfiguration {
|
||||
* copy of the hosted Windows VST3 plugin's `IPluginFactory{,2,3}` interface.
|
||||
*/
|
||||
struct WantsPluginFactory {
|
||||
using Response = YaPluginFactory;
|
||||
// TODO: Some things had to be changed to use references since this is an
|
||||
// abstract class. Check if nothing breaks.
|
||||
using Response = YaPluginFactory&;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user