Add boilerplate for connecting Vst3PluginProxies

This way we can identify the actual objects and directly connect them on
the Wine side.
This commit is contained in:
Robbert van der Helm
2020-12-18 13:44:55 +01:00
parent f83e526fc6
commit 41a9ca5a36
2 changed files with 24 additions and 3 deletions
@@ -154,6 +154,12 @@ class Vst3PluginProxy : public YaAudioProcessor,
DECLARE_FUNKNOWN_METHODS
/**
* Get this object's instance ID. Used in `IConnectionPoint` to identify and
* connect specific objects.
*/
inline size_t instance_id() const { return arguments.instance_id; }
// We'll define messages for functions that have identical definitions in
// multiple interfaces below. When the Wine plugin host process handles
// these it should check which of the interfaces is supported on the host.