Browse Source

Fix build without juce

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
5101ff5951
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/discovery/carla-discovery.cpp

+ 4
- 0
source/discovery/carla-discovery.cpp View File

@@ -147,8 +147,10 @@ static void do_cached_check(const PluginType type)
break;
}

# ifdef USING_JUCE
if (type == PLUGIN_AU)
carla_juce_init();
# endif

const uint count = carla_get_cached_plugin_count(type, plugPath);

@@ -160,8 +162,10 @@ static void do_cached_check(const PluginType type)
print_cached_plugin(pinfo);
}

# ifdef USING_JUCE
if (type == PLUGIN_AU)
carla_juce_cleanup();
# endif
}
#endif



Loading…
Cancel
Save