PluginDirectoryScanner constructor param


#1

Hi Juce,

In the description of the allowPluginsWhichRequireAsynchronousInstantiation param, it is written:
"If this is false then the scanner will exclude plug-ins asynchronous creation - such as AUv3 plug-ins."
May anyone explain me what that means in more details?

Thank you

Nathaniel


#2

Some plug-ins must be instantiated with the message thread unblocked. You can do this with the new createPluginInstanceAsync methods in the AudioPluginFormatManager class - or by calling the createPluginInstance methods on an auxiliary thread with the message thread unblocked. If your host does not support this then you should set allowPluginsWhichRequireAsynchronousInstantiation to false to exclude such plug-ins.