summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-03 03:16:19 +0000
committerDavid Robillard <d@drobilla.net>2008-10-03 03:16:19 +0000
commitec6ab8a04811acd1b548a23ab8f95c27797267fe (patch)
tree4b4106dd6cb9a10f56eb423f3e8291f99a7ce2d1 /libs/ardour/ladspa_plugin.cc
parent612850c41b880ef2971a87cd1afa50c077b32c8d (diff)
Apply panners/automation patch from torbenh (Panner is-a Processor).
git-svn-id: svn://localhost/ardour2/branches/3.0@3848 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index d756bbfcbe..66c6be871b 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -297,7 +297,7 @@ LadspaPlugin::set_parameter (uint32_t which, float val)
if (which < _descriptor->PortCount) {
_shadow_data[which] = (LADSPA_Data) val;
#if 0
- ParameterChanged (Parameter(PluginAutomation, which), val); /* EMIT SIGNAL */
+ ParameterChanged (Parameter(PluginAutomation, 0, which), val); /* EMIT SIGNAL */
if (which < parameter_count() && controls[which]) {
controls[which]->Changed ();
@@ -503,7 +503,7 @@ LadspaPlugin::automatable () const
if (LADSPA_IS_PORT_INPUT(port_descriptor (i)) &&
LADSPA_IS_PORT_CONTROL(port_descriptor (i))){
- ret.insert (ret.end(), Evoral::Parameter(PluginAutomation, i));
+ ret.insert (ret.end(), Evoral::Parameter(PluginAutomation, 0, i));
}
}