Fix: Replace deleted addDefaultFormats() with explicit format registration (JUCE 8)
Browse files
Source/HostedPluginManager.cpp
CHANGED
|
@@ -2,8 +2,13 @@
|
|
| 2 |
|
| 3 |
HostedPluginManager::HostedPluginManager()
|
| 4 |
{
|
| 5 |
-
// Register VST3 and AU formats
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
|
| 9 |
HostedPluginManager::~HostedPluginManager()
|
|
|
|
| 2 |
|
| 3 |
HostedPluginManager::HostedPluginManager()
|
| 4 |
{
|
| 5 |
+
// Register VST3 and AU formats explicitly (addDefaultFormats() removed in JUCE 8)
|
| 6 |
+
#if JUCE_PLUGINHOST_VST3
|
| 7 |
+
formatManager.addFormat(new juce::VST3PluginFormat());
|
| 8 |
+
#endif
|
| 9 |
+
#if JUCE_PLUGINHOST_AU
|
| 10 |
+
formatManager.addFormat(new juce::AudioUnitPluginFormat());
|
| 11 |
+
#endif
|
| 12 |
}
|
| 13 |
|
| 14 |
HostedPluginManager::~HostedPluginManager()
|