mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +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"
|
#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),
|
: object(object),
|
||||||
audio_processor(object),
|
audio_processor(object),
|
||||||
component(object),
|
component(object),
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
* `IHostApplication` instance passed to the plugin during
|
* `IHostApplication` instance passed to the plugin during
|
||||||
* `IPluginBase::initialize()`.
|
* `IPluginBase::initialize()`.
|
||||||
*/
|
*/
|
||||||
struct PluginObject {
|
struct InstanceInterfaces {
|
||||||
PluginObject();
|
InstanceInterfaces();
|
||||||
|
|
||||||
PluginObject(Steinberg::IPtr<Steinberg::FUnknown> object);
|
InstanceInterfaces(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the host passes an `IHostApplication` during
|
* 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
|
* will cause all pointers to it to get dropped and the object to be cleaned
|
||||||
* up.
|
* up.
|
||||||
*/
|
*/
|
||||||
std::map<size_t, PluginObject> object_instances;
|
std::map<size_t, InstanceInterfaces> object_instances;
|
||||||
std::mutex object_instances_mutex;
|
std::mutex object_instances_mutex;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user