Add option to limit automatable control parmaters
authorRobin Gareus <robin@gareus.org>
Wed, 31 Oct 2018 22:32:16 +0000 (23:32 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 31 Oct 2018 22:44:04 +0000 (23:44 +0100)
commitfd832d9d1a7eb33ff9b8b206e1b8509aef100faf
tree1ab68c7fa90877c20a8a412bfcfd317f169af436
parentbefa339d4b4ee0e288c5f5437e0017eefd0ca2fb
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.
libs/ardour/ardour/rc_configuration_vars.h
libs/ardour/automatable.cc
libs/ardour/plugin_insert.cc