Fix updates of LV2 plugin parameters. Fixes #3341.
git-svn-id: svn://localhost/ardour2/branches/3.0@8032 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
39fc90abda
commit
04d9517842
@ -226,13 +226,13 @@ LV2Plugin::set_parameter (uint32_t which, float val)
|
|||||||
{
|
{
|
||||||
if (which < slv2_plugin_get_num_ports(_plugin)) {
|
if (which < slv2_plugin_get_num_ports(_plugin)) {
|
||||||
_shadow_data[which] = val;
|
_shadow_data[which] = val;
|
||||||
#if 0
|
|
||||||
ParameterChanged (which, val); /* EMIT SIGNAL */
|
ParameterChanged (which, val); /* EMIT SIGNAL */
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (which < parameter_count() && controls[which]) {
|
if (which < parameter_count() && controls[which]) {
|
||||||
controls[which]->Changed ();
|
controls[which]->Changed ();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
warning << string_compose (_("Illegal parameter number used with plugin \"%1\"."
|
warning << string_compose (_("Illegal parameter number used with plugin \"%1\"."
|
||||||
|
Loading…
Reference in New Issue
Block a user