Browse Source

Correct vst3 auto-discovery too

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
f7d2ab8682
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      source/backend/utils/PluginDiscovery.cpp

+ 2
- 4
source/backend/utils/PluginDiscovery.cpp View File

@@ -435,12 +435,10 @@ static std::vector<water::File> findVST3s(const char* const pluginPath)

std::vector<water::File> ret;

#if defined(CARLA_OS_MAC)
static constexpr const uint flags = File::findDirectories;
#elif defined(CARLA_OS_WIN)
#if defined(CARLA_OS_WIN)
static constexpr const uint flags = File::findDirectories|File::findFiles;
#else
static constexpr const uint flags = File::findFiles;
static constexpr const uint flags = File::findDirectories;
#endif

for (String *it = splitPaths.begin(), *end = splitPaths.end(); it != end; ++it)


Loading…
Cancel
Save