mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 15:16:25 +01:00
Revert "AU discover: remember discover-at-start setting"
This reverts commit 7c3c213d45.
This commit is contained in:
parent
7c3c213d45
commit
6c10ddc339
1 changed files with 1 additions and 2 deletions
|
|
@ -645,7 +645,6 @@ PluginManager::au_refresh (bool cache_only)
|
||||||
delete _au_plugin_info;
|
delete _au_plugin_info;
|
||||||
_au_plugin_info = AUPluginInfo::discover();
|
_au_plugin_info = AUPluginInfo::discover();
|
||||||
|
|
||||||
bool discover_at_start = Config->get_discover_audio_units ();
|
|
||||||
// disable automatic scan in case we crash
|
// disable automatic scan in case we crash
|
||||||
Config->set_discover_audio_units (false);
|
Config->set_discover_audio_units (false);
|
||||||
Config->save_state();
|
Config->save_state();
|
||||||
|
|
@ -664,7 +663,7 @@ PluginManager::au_refresh (bool cache_only)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// successful scan re-enabled automatic discovery
|
// successful scan re-enabled automatic discovery
|
||||||
Config->set_discover_audio_units (discover_at_start);
|
Config->set_discover_audio_units (true);
|
||||||
Config->save_state();
|
Config->save_state();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue