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,9 +226,9 @@ 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 ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user