mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Rename PluginObject to InstanceInterfaces
To make it a bit clearer that this is a holder of interface smart pointers.
This commit is contained in:
@@ -22,9 +22,10 @@
|
||||
|
||||
#include "vst3-impls/host-application.h"
|
||||
|
||||
PluginObject::PluginObject() {}
|
||||
InstanceInterfaces::InstanceInterfaces() {}
|
||||
|
||||
PluginObject::PluginObject(Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
InstanceInterfaces::InstanceInterfaces(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
: object(object),
|
||||
audio_processor(object),
|
||||
component(object),
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
* `IHostApplication` instance passed to the plugin during
|
||||
* `IPluginBase::initialize()`.
|
||||
*/
|
||||
struct PluginObject {
|
||||
PluginObject();
|
||||
struct InstanceInterfaces {
|
||||
InstanceInterfaces();
|
||||
|
||||
PluginObject(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
InstanceInterfaces(Steinberg::IPtr<Steinberg::FUnknown> 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<size_t, PluginObject> object_instances;
|
||||
std::map<size_t, InstanceInterfaces> object_instances;
|
||||
std::mutex object_instances_mutex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user