I want to program a plugin manager (audio application).
When compiling the code in Visual Studio 2019, I always get the error “You need to enable at least one plugin format”.
I am using the Modules:
juce_audio_basics
juce_audio_plugin_client
juce_audio_processors
juce_core
juce_data_structures
juce_events
juce_graphics
juce_gui_basics
juce_gui_extra
for the module “juce_audio_processors” I only set the option “JUCE_PLUGINHOST_VST” to “Enabled”, so that the command “VSTPluginFormat” is recognized.
This is the only code I have written so far and it is in MainComponent.cpp
// Create object of list of known plugins.
juce::KnownPluginList knownPluginList;
knownPluginList.clearBlacklistedFiles();
// Specifiy the plugin format.
juce::VSTPluginFormat format;
juce::FileSearchPath searchPath("C:/learn_juce/AudioPluginManager/test_scan_plugins");
// Create scanner for directory and populate plugin list.
juce::PluginDirectoryScanner pluginDirectoryScanner(knownPluginList,
format,
searchPath,
true /*is reccursive*/,
juce::File(),
true /*is asyncronous*/);