mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
VST cache file transition.
This commit is contained in:
parent
55cd20d862
commit
2443fd1d79
2 changed files with 17 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
#define VST_EXT_INFOFILE ".fsi64"
|
||||
#define VST_BLACKLIST "vst64_blacklist.txt"
|
||||
#else
|
||||
#define VST_EXT_INFOFILE ".fsi"
|
||||
#define VST_EXT_INFOFILE ".fsi32"
|
||||
#define VST_BLACKLIST "vst32_blacklist.txt"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -352,6 +352,14 @@ PluginManager::clear_vst_cache ()
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT)
|
||||
{
|
||||
string dir = Glib::build_filename (ARDOUR::user_cache_directory(), "fst_info");
|
||||
if (Glib::file_test (dir, Glib::FILE_TEST_IS_DIR)) {
|
||||
PBD::remove_directory (dir);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // old cache cleanup
|
||||
|
||||
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT)
|
||||
|
|
@ -390,6 +398,14 @@ PluginManager::clear_vst_blacklist ()
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT)
|
||||
{
|
||||
string dir = Glib::build_filename (ARDOUR::user_cache_directory(), "fst_blacklist");
|
||||
if (Glib::file_test (dir, Glib::FILE_TEST_IS_DIR)) {
|
||||
PBD::remove_directory (dir);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // old blacklist cleanup
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue