mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 00:43:56 +02:00
Fully implement IPlugInterfaceSupport
With this we support all VST 3.6.12 interfaces.
This commit is contained in:
@@ -96,9 +96,16 @@ Vst3HostContextProxyImpl::createInstance(Steinberg::TUID /*cid*/,
|
||||
|
||||
tresult PLUGIN_API
|
||||
Vst3HostContextProxyImpl::isPlugInterfaceSupported(const Steinberg::TUID _iid) {
|
||||
// TODO: Implement
|
||||
std::cerr
|
||||
<< "TODO: Implement IPlugInterfaceSupport::isPlugInterfaceSupported()"
|
||||
<< std::endl;
|
||||
return Steinberg::kNotImplemented;
|
||||
if (_iid) {
|
||||
return bridge.send_message(
|
||||
YaPlugInterfaceSupport::IsPlugInterfaceSupported{
|
||||
.owner_instance_id = owner_instance_id(),
|
||||
.iid = std::to_array(
|
||||
*reinterpret_cast<const Steinberg::TUID*>(&_iid))});
|
||||
} else {
|
||||
bridge.logger.log(
|
||||
"WARNING: Null pointer passed to "
|
||||
"'IPlugInterfaceSupport::isPlugInterfaceSupported()'");
|
||||
return Steinberg::kInvalidArgument;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user