diff --git a/src/wine-host/bridges/vst3.cpp b/src/wine-host/bridges/vst3.cpp index a65784f7..f6dfd607 100644 --- a/src/wine-host/bridges/vst3.cpp +++ b/src/wine-host/bridges/vst3.cpp @@ -22,9 +22,10 @@ #include "vst3-impls/host-application.h" -PluginObject::PluginObject() {} +InstanceInterfaces::InstanceInterfaces() {} -PluginObject::PluginObject(Steinberg::IPtr object) +InstanceInterfaces::InstanceInterfaces( + Steinberg::IPtr object) : object(object), audio_processor(object), component(object), diff --git a/src/wine-host/bridges/vst3.h b/src/wine-host/bridges/vst3.h index 508e2f01..b31ef7da 100644 --- a/src/wine-host/bridges/vst3.h +++ b/src/wine-host/bridges/vst3.h @@ -32,10 +32,10 @@ * `IHostApplication` instance passed to the plugin during * `IPluginBase::initialize()`. */ -struct PluginObject { - PluginObject(); +struct InstanceInterfaces { + InstanceInterfaces(); - PluginObject(Steinberg::IPtr object); + InstanceInterfaces(Steinberg::IPtr object); /** * If the host passes an `IHostApplication` during @@ -149,6 +149,6 @@ class Vst3Bridge : public HostBridge { * will cause all pointers to it to get dropped and the object to be cleaned * up. */ - std::map object_instances; + std::map object_instances; std::mutex object_instances_mutex; };