mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
VST3: Support loading a VST2 state when a plugin implements getCompatibleClasses()
This commit is contained in:
parent
2c606d6612
commit
0802db13ee
1 changed files with 3 additions and 0 deletions
|
|
@ -2811,6 +2811,9 @@ public:
|
|||
#if JUCE_VST3_CAN_REPLACE_VST2
|
||||
return true;
|
||||
#else
|
||||
if (auto extensions = pluginInstance->getVST3ClientExtensions())
|
||||
return ! extensions->getCompatibleClasses().empty();
|
||||
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue