From 8c45d446adb11b4af8cb1033da5a3e8a004b05ad Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Aug 2015 00:25:19 +0200 Subject: VST cache rework (part one) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t clutter up actual vst-plugin dirs with additional files. Use dedicated folder for VST info-cache; use sha1-hash (of absolute dll path) for .fsi file. Use a single blacklist file (one path per line) instead of individual .fsb files per plugin. --- libs/ardour/ardour/vst_info_file.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/vst_info_file.h b/libs/ardour/ardour/vst_info_file.h index 62c3484c80..006e2c26ba 100644 --- a/libs/ardour/ardour/vst_info_file.h +++ b/libs/ardour/ardour/vst_info_file.h @@ -32,11 +32,12 @@ # define VST_EXT_BLACKLIST ".fsb" #endif -#define VST_EXT_ERRORFILE ".err" # if ( defined(__x86_64__) || defined(_M_X64) ) #define VST_EXT_INFOFILE ".fsi64" +#define VST_BLACKLIST "vst64_blacklist.txt" #else #define VST_EXT_INFOFILE ".fsi" +#define VST_BLACKLIST "vst32_blacklist.txt" #endif #ifndef VST_SCANNER_APP @@ -49,8 +50,6 @@ enum VSTScanMode { VST_SCAN_INTERNAL }; -LIBARDOUR_API extern std::string get_personal_vst_info_cache_dir (); -LIBARDOUR_API extern std::string get_personal_vst_blacklist_dir (); LIBARDOUR_API extern void vstfx_free_info_list (std::vector *infos); #ifdef LXVST_SUPPORT -- cgit v1.2.3