diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-03 00:25:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-03 00:25:19 +0200 |
commit | 8c45d446adb11b4af8cb1033da5a3e8a004b05ad (patch) | |
tree | 6aadb42f9c8514e74dd02ef49e9a186a0b94e099 /libs/ardour/ardour/vst_info_file.h | |
parent | d9de55ae935bbf67abb22256fa6a6ac12144003b (diff) |
VST cache rework (part one)
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.
Diffstat (limited to 'libs/ardour/ardour/vst_info_file.h')
-rw-r--r-- | libs/ardour/ardour/vst_info_file.h | 5 |
1 files changed, 2 insertions, 3 deletions
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<VSTInfo *> *infos); #ifdef LXVST_SUPPORT |