Plugin UI touch confirmed working with suil r4173 and distrho JUCE plugin "TAL Filter II".
git-svn-id: svn://localhost/ardour2/branches/3.0@11935
d708f5d6-7413-0410-9779-
e7cbd77b26cf
uint32_t port_index,
bool grabbed)
{
uint32_t port_index,
bool grabbed)
{
- LV2PluginUI* me = (LV2PluginUI*)controller;
+ LV2PluginUI* me = (LV2PluginUI*)controller;
+ if (port_index >= me->_controllables.size()) {
+ return;
+ }
+
ControllableRef control = me->_controllables[port_index];
if (grabbed) {
control->start_touch(control->session().transport_frame());
ControllableRef control = me->_controllables[port_index];
if (grabbed) {
control->start_touch(control->session().transport_frame());