summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/rc_configuration_vars.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-10-31 23:32:16 +0100
committerRobin Gareus <robin@gareus.org>2018-10-31 23:44:04 +0100
commitfd832d9d1a7eb33ff9b8b206e1b8509aef100faf (patch)
tree1ab68c7fa90877c20a8a412bfcfd317f169af436 /libs/ardour/ardour/rc_configuration_vars.h
parentbefa339d4b4ee0e288c5f5437e0017eefd0ca2fb (diff)
Add option to limit automatable control parmaters
VCVRack VST currently exposes 9999 automatable-control parmaters. This slows down various GUI dropdown lists and dialogs. (even worse: those parameters are not mapped to anything by default). This change allows to limit automatable parameters to a reasonable number, without loosing state of already automated parameters in existing sessions.
Diffstat (limited to 'libs/ardour/ardour/rc_configuration_vars.h')
-rw-r--r--libs/ardour/ardour/rc_configuration_vars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h
index 452a0822cc..365b546eb3 100644
--- a/libs/ardour/ardour/rc_configuration_vars.h
+++ b/libs/ardour/ardour/rc_configuration_vars.h
@@ -244,6 +244,7 @@ CONFIG_VARIABLE (int, vst_scan_timeout, "vst-scan-timeout", 1200) /* deciseconds
CONFIG_VARIABLE (bool, discover_audio_units, "discover-audio-units", false)
CONFIG_VARIABLE (bool, ask_replace_instrument, "ask-replace-instrument", true)
CONFIG_VARIABLE (bool, ask_setup_instrument, "ask-setup-instrument", true)
+CONFIG_VARIABLE (uint32_t, limit_n_automatables, "limit-n-automatables", 512)
/* custom user plugin paths */
CONFIG_VARIABLE (std::string, plugin_path_vst, "plugin-path-vst", "@default@")