13
0

Preference Dropdown to limit Automatable Parameters

This commit is contained in:
Robin Gareus 2018-10-31 23:34:41 +01:00
parent fd832d9d1a
commit 63a4cc9cf6

View File

@ -3392,6 +3392,23 @@ RCOptionEditor::RCOptionEditor ()
Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
_("<b>When enabled</b> plugins will be activated when they are added to tracks/busses. When disabled plugins will be left inactive when they are added to tracks/busses"));
ComboOption<uint32_t>* lna = new ComboOption<uint32_t> (
"limit-n-automatables",
_("Limit automatable parameters per plugin"),
sigc::mem_fun (*_rc_config, &RCConfiguration::get_limit_n_automatables),
sigc::mem_fun (*_rc_config, &RCConfiguration::set_limit_n_automatables)
);
lna->add (0, _("Unlimited"));
lna->add (64, _("64 parameters"));
lna->add (128, _("128 parameters"));
lna->add (256, _("256 parameters"));
lna->add (512, _("512 parameters"));
lna->add (999, _("999 parameters"));
add_option (_("Plugins"), lna);
Gtkmm2ext::UI::instance()->set_tip (lna->tip_widget(),
_("Some Plugins expose an unreasonable amount of control-inputs. This option limits the number of parameters that can are listed as automatable without restricting the number of total controls.\n\nThis reduces lag in the GUI and shortens excessively long drop-down lists for plugins with a large number of control ports.\n\nNote: This only affects newly added plugins and is applied to plugin on session-reload. Already automated parameters are retained."));
#if (defined WINDOWS_VST_SUPPORT || defined MACVST_SUPPORT || defined LXVST_SUPPORT)
add_option (_("Plugins/VST"), new OptionEditorHeading (_("VST")));
#if 0