I’m trying to populate a KnownList with AU plugins from the default folder, however, the consequent popup list isn’t being filled with any values?
Am I missing a method from the pluginDirectoryScanner potentially, or misunderstanding the search path?
// Create object of list of known plugins. KnownPluginList knownPluginList; knownPluginList.clearBlacklistedFiles(); // Specifiy the plugin format (AU) and search path. AudioUnitPluginFormat pluginFormat; FileSearchPath searchPath ("~/Library/Audio/Plug-Ins/Components"); // Create scanner for directory and populate plugin list. PluginDirectoryScanner pluginDirectoryScanner (knownPluginList, pluginFormat, searchPath, true /*is reccursive*/, File(), true /*is asyncronous*/); // Create popup menu and fill with known plugins PopupMenu m; knownPluginList.addToMenu (m, KnownPluginList::defaultOrder); const int choice = m.show(); // Oh no... they aren't being shown, nothing in list :(