mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
VST3: fix runloop query (amend 83207e04e7)
The plugin itself needs to be able to return a runloop, for the UI, even if the factory has one.
This commit is contained in:
parent
8fd081679d
commit
c77d2d42b9
1 changed files with 6 additions and 0 deletions
|
|
@ -1517,6 +1517,12 @@ VST3PI::queryInterface (const TUID _iid, void** obj)
|
||||||
|
|
||||||
QUERY_INTERFACE (_iid, obj, IPlugFrame::iid, IPlugFrame)
|
QUERY_INTERFACE (_iid, obj, IPlugFrame::iid, IPlugFrame)
|
||||||
|
|
||||||
|
#if SMTG_OS_LINUX
|
||||||
|
if (FUnknownPrivate::iidEqual (_iid, Linux::IRunLoop::iid)) {
|
||||||
|
return HostApplication::getHostContext()->queryInterface (_iid, obj);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (DEBUG_ENABLED (DEBUG::VST3Config)) {
|
if (DEBUG_ENABLED (DEBUG::VST3Config)) {
|
||||||
char fuid[33];
|
char fuid[33];
|
||||||
FUID::fromTUID (_iid).toString (fuid);
|
FUID::fromTUID (_iid).toString (fuid);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue