Browse Source

VST: Fixed a compilation error on iOS when hosting VSTs

v6.1.6
Tom Poole 4 years ago
parent
commit
df132fd6df
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

+ 1
- 1
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -3634,7 +3634,7 @@ FileSearchPath VSTPluginFormat::getDefaultLocationsToSearch()
CFUniquePtr<CFURLRef> relativePluginDir (CFBundleCopyBuiltInPlugInsURL (CFBundleGetMainBundle()));
CFUniquePtr<CFURLRef> pluginDir (CFURLCopyAbsoluteURL (relativePluginDir.get()));
CFStringRef path = CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle);
CFUniquePtr<CFStringRef> path (CFURLCopyFileSystemPath (pluginDir.get(), kCFURLPOSIXPathStyle));
FileSearchPath retval (String (CFStringGetCStringPtr (path.get(), kCFStringEncodingUTF8)));
return retval;
#endif


Loading…
Cancel
Save