From 8b93fb02f38148c25c91ed41a4f12735be38dbf0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 13 Nov 2016 16:31:15 +0100 Subject: Mac VST-2.x support --- libs/fst/scanner.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libs/fst/scanner.cc') diff --git a/libs/fst/scanner.cc b/libs/fst/scanner.cc index d56bdb168c..1f8a90e7a8 100644 --- a/libs/fst/scanner.cc +++ b/libs/fst/scanner.cc @@ -31,6 +31,9 @@ #ifdef LXVST_SUPPORT #include "../ardour/linux_vst_support.cc" #endif +#ifdef MACVST_SUPPORT +#include "../ardour/mac_vst_support.cc" +#endif #include "../ardour/filesystem_paths.cc" #include "../ardour/directory_names.cc" @@ -117,6 +120,12 @@ int main (int argc, char **argv) { infos = vstfx_get_info_fst(dllpath); } #endif + +#ifdef MACVST_SUPPORT + else if (slen > 4 && 0 == g_ascii_strcasecmp (&dllpath[slen-4], ".vst")) { + infos = vstfx_get_info_mac(dllpath); + } +#endif else { fprintf(stderr, "'%s' is not a supported VST plugin.\n", dllpath); } -- cgit v1.2.3