From a73a039a3abac96837a2ca09d2b044702c27c98e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 10 Jul 2015 18:54:26 +0200 Subject: separate VST blacklist for 32/64bit --- libs/ardour/vst_info_file.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libs/ardour/vst_info_file.cc') diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc index 3b56876494..b45a285f9b 100644 --- a/libs/ardour/vst_info_file.cc +++ b/libs/ardour/vst_info_file.cc @@ -55,12 +55,6 @@ #define MAX_STRING_LEN 256 #define PLUGIN_SCAN_TIMEOUT (Config->get_vst_scan_timeout()) // in deciseconds - -/* CACHE FILE PATHS */ -#define EXT_BLACKLIST ".fsb" -#define EXT_ERRORFILE ".err" -#define EXT_INFOFILE ".fsi" - #ifdef PLATFORM_WINDOWS #define PFX_DOTFILE "" #else @@ -118,21 +112,21 @@ vstfx_blacklist_path (const char* dllpath, int personal) } stringstream s; - s << PFX_DOTFILE << Glib::path_get_basename (dllpath) << EXT_BLACKLIST; + s << PFX_DOTFILE << Glib::path_get_basename (dllpath) << VST_EXT_BLACKLIST; return Glib::build_filename (dir, s.str ()); } static string vstfx_infofile_path (const char* dllpath, int personal) { - return vstfx_cache_file(dllpath, personal, EXT_INFOFILE); + return vstfx_cache_file(dllpath, personal, VST_EXT_INFOFILE); } #ifndef VST_SCANNER_APP static string vstfx_errorfile_path (const char* dllpath, int personal) { - return vstfx_cache_file(dllpath, personal, EXT_ERRORFILE); + return vstfx_cache_file(dllpath, personal, VST_EXT_ERRORFILE); } #endif -- cgit v1.2.3