Hi!
I can successfully scan VST3 plugins with PluginDirectoryScanner by providing VST3PluginFormat:
juce::VST3PluginFormat pluginFormat;
std::unique_ptr<PluginDirectoryScanner> scanner;
/* ... */
scanner.reset(new PluginDirectoryScanner(knownPluginList,
pluginFormat,
searchPath,
false,
File(),
true));
The question is how to scan AudioUnit format (or any other), too? I mean, should I create a new PluginDirectoryScanner for each format I want to scan?
Wouldn’t it be reasonable to have another constructor where I could provide an Array of AudioPluginFormats? Or to have a method: PluginDirectoryScanner::addPluginFormat(AudioPluginFormat pluginFormat)
Thanks!