mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Allow casting YaComponentInfo to IUnitHandler
Quite an important detail.
This commit is contained in:
@@ -48,6 +48,10 @@ Vst3ComponentHandlerProxy::queryInterface(Steinberg::FIDString _iid,
|
||||
QUERY_INTERFACE(_iid, obj, Steinberg::Vst::IComponentHandler::iid,
|
||||
Steinberg::Vst::IComponentHandler)
|
||||
}
|
||||
if (YaUnitHandler::supported()) {
|
||||
QUERY_INTERFACE(_iid, obj, Steinberg::Vst::IUnitHandler::iid,
|
||||
Steinberg::Vst::IUnitHandler)
|
||||
}
|
||||
|
||||
*obj = nullptr;
|
||||
return Steinberg::kNoInterface;
|
||||
|
||||
Reference in New Issue
Block a user