1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

PluginHostType: Automatically set jucePlugInClientCurrentWrapperType during createPluginFilterOfType

This commit is contained in:
reuk 2022-12-12 12:59:48 +00:00
parent 84d4c8794a
commit 403ba3007f
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
9 changed files with 3 additions and 30 deletions

View file

@ -4168,8 +4168,6 @@ using namespace juce;
// The VST3 plugin entry point.
extern "C" SMTG_EXPORT_SYMBOL IPluginFactory* PLUGIN_API GetPluginFactory()
{
PluginHostType::jucePlugInClientCurrentWrapperType = AudioProcessor::wrapperType_VST3;
#if (JUCE_MSVC || (JUCE_WINDOWS && JUCE_CLANG)) && JUCE_32BIT
// Cunning trick to force this function to be exported. Life's too short to
// faff around creating .def files for this kind of thing.