diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-03 15:45:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-03 15:45:31 +0200 |
commit | 712b709e2a109722a993b37b7c5cce3c79cafda0 (patch) | |
tree | 4d1d0c1eaa100c52d26feb701b5177a832a2474a /libs/ardour/plugin_manager.cc | |
parent | 1fe6c1932989d17cd1caf496cd5059895f100028 (diff) |
dump VST blacklist at end of scan
Diffstat (limited to 'libs/ardour/plugin_manager.cc')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 9dd1d4b680..7759a1d87b 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -262,6 +262,18 @@ PluginManager::refresh (bool cache_only) } #endif //Native linuxVST SUPPORT +#if (defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT) + if (!cache_only) { + string fn = Glib::build_filename (ARDOUR::user_cache_directory(), VST_BLACKLIST); + if (Glib::file_test (fn, Glib::FILE_TEST_EXISTS)) { + std::string bl; + std::ifstream ifs (fn.c_str ()); + bl.assign ((std::istreambuf_iterator<char> (ifs)), (std::istreambuf_iterator<char> ())); + PBD::info << _("VST Blacklist:") << "\n" << bl << "-----" << endmsg; + } + } +#endif + #ifdef AUDIOUNIT_SUPPORT if (cache_only) { BootMessage (_("Scanning AU Plugins")); |