13
0

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:
Carl Hetherington 2010-11-14 20:05:37 +00:00
parent 39fc90abda
commit 04d9517842

View File

@ -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\"."