mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
Rename "enable AU" config variable
This commit is contained in:
parent
c6435ad834
commit
b60e4e3214
2 changed files with 4 additions and 3 deletions
|
|
@ -233,6 +233,7 @@ CONFIG_VARIABLE (bool, use_plugin_own_gui, "use-plugin-own-gui", true)
|
|||
CONFIG_VARIABLE (bool, use_windows_vst, "use-windows-vst", true)
|
||||
CONFIG_VARIABLE (bool, use_lxvst, "use-lxvst", true)
|
||||
CONFIG_VARIABLE (bool, use_macvst, "use-macvst", true)
|
||||
CONFIG_VARIABLE (bool, use_audio_units, "use-audio-units", true)
|
||||
CONFIG_VARIABLE (bool, discover_vst_on_start, "discover-vst-on-start", false)
|
||||
CONFIG_VARIABLE (bool, verbose_plugin_scan, "verbose-plugin-scan", false)
|
||||
CONFIG_VARIABLE (bool, conceal_lv1_if_lv2_exists, "conceal-lv1-if-lv2-exists", true)
|
||||
|
|
|
|||
|
|
@ -1374,13 +1374,13 @@ PluginManager::au_refresh (bool cache_only)
|
|||
delete _au_plugin_info;
|
||||
_au_plugin_info = new ARDOUR::PluginInfoList();
|
||||
|
||||
if (!Config->get_discover_audio_units ()) { // TODO rename: enable AU
|
||||
if (!Config->get_use_audio_units ()) {
|
||||
return;
|
||||
}
|
||||
|
||||
ARDOUR::PluginScanMessage(_("AUv2"), _("Indexing"), false);
|
||||
/* disable AU in case indexing crashes */
|
||||
Config->set_discover_audio_units (false);
|
||||
Config->set_use_audio_units (false);
|
||||
Config->save_state();
|
||||
|
||||
string aucrsh = Glib::build_filename (ARDOUR::user_cache_directory(), "au_crash");
|
||||
|
|
@ -1390,7 +1390,7 @@ PluginManager::au_refresh (bool cache_only)
|
|||
auv2_list_plugins (audesc);
|
||||
|
||||
/* successful, re-enabled AU support */
|
||||
Config->set_discover_audio_units (true);
|
||||
Config->set_use_audio_units (true);
|
||||
Config->save_state();
|
||||
|
||||
::g_unlink (aucrsh.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue