diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-09 16:33:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-09 20:32:52 +0100 |
commit | da73b0f670625e142f7784a60fa31e1eeb0666b3 (patch) | |
tree | 0ee9589749f86abcfa28ee45ba48080e7ab7e99f /libs/ardour/vst_info_file.cc | |
parent | 52c8b6d66a34952c4b0cd02eba722cd1b26bef17 (diff) |
prepare configurable VST scan timeout
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r-- | libs/ardour/vst_info_file.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc index 90076815b3..1db9afbbc4 100644 --- a/libs/ardour/vst_info_file.cc +++ b/libs/ardour/vst_info_file.cc @@ -45,6 +45,7 @@ #ifndef VST_SCANNER_APP #include "pbd/system_exec.h" #include "ardour/plugin_manager.h" // scanner_bin_path +#include "ardour/rc_configuration.h" #endif #include "ardour/filesystem_paths.h" @@ -53,7 +54,7 @@ #include "ardour/vst_info_file.h" #define MAX_STRING_LEN 256 -#define PLUGIN_SCAN_TIMEOUT (600) // in deciseconds +#define PLUGIN_SCAN_TIMEOUT (Config->get_vst_scan_timeout()) // in deciseconds /* CACHE FILE PATHS */ |