mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
PM: scan-timeout count-down even if timeout is stopped
This allows the GUI to determine for how long the scanner ran after the timeout was canceled. Count up to 90 sec.
This commit is contained in:
parent
6cf19dac18
commit
adf93c85fe
1 changed files with 3 additions and 3 deletions
|
|
@ -1191,7 +1191,7 @@ PluginManager::run_auv2_scanner_app (CAComponentDescription const& desc, AUv2Des
|
|||
}
|
||||
|
||||
ARDOUR::PluginScanTimeout (timeout);
|
||||
if (timeout > 0) {
|
||||
if (timeout > -900) {
|
||||
--timeout;
|
||||
}
|
||||
Glib::usleep (100000);
|
||||
|
|
@ -1481,7 +1481,7 @@ PluginManager::run_vst2_scanner_app (std::string path, PSLEPtr psle) const
|
|||
}
|
||||
|
||||
ARDOUR::PluginScanTimeout (timeout);
|
||||
if (timeout > 0) {
|
||||
if (timeout > -900) {
|
||||
--timeout;
|
||||
}
|
||||
Glib::usleep (100000);
|
||||
|
|
@ -2222,7 +2222,7 @@ PluginManager::run_vst3_scanner_app (std::string bundle_path, PSLEPtr psle) cons
|
|||
}
|
||||
|
||||
ARDOUR::PluginScanTimeout (timeout);
|
||||
if (timeout > 0) {
|
||||
if (timeout > -900) {
|
||||
--timeout;
|
||||
}
|
||||
Glib::usleep (100000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue