diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-17 14:06:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-17 14:06:47 +0100 |
commit | cb9f4df0ad6226f0c2f05902df361f20bb379337 (patch) | |
tree | dfd7e274375988678bb1b2094a95c55f889f569a /gtk2_ardour/rc_option_editor.cc | |
parent | 170380fda9ce1f675db521b59c817e1d37963c3c (diff) |
GUI to disable MacVST at runtime
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r-- | gtk2_ardour/rc_option_editor.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 1c1783bd37..0b017926fc 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3194,6 +3194,16 @@ if (!ARDOUR::Profile->get_mixbus()) { new RcActionButton (_("Scan for Plugins"), sigc::mem_fun (*this, &RCOptionEditor::plugin_scan_refresh))); +#if (defined AUDIOUNIT_SUPPORT && defined MACVST_SUPPORT) + bo = new BoolOption ( + "", + _("Enable Mac VST support (requires restart or re-scan)"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_macvst), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_macvst) + ); + add_option (_("Plugins/VST"), bo); +#endif + bo = new BoolOption ( "discover-vst-on-start", _("Scan for [new] VST Plugins on Application Start"), |