summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-09-02 19:11:02 +0000
committerCarl Hetherington <carl@carlh.net>2010-09-02 19:11:02 +0000
commit0c496aafed3394075e2830eaa7b48714e4036dd0 (patch)
tree537b3a633a1bc7c70f36c932110b989e0d29d41b /libs/ardour/ladspa_plugin.cc
parentade3609b01409221f7d27b63c86861be5525793f (diff)
Activate plugins that are added to a PluginInsert after it itself has been activated.
git-svn-id: svn://localhost/ardour2/branches/3.0@7736 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index d9a1ad074b..cc532c61ca 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -634,6 +634,9 @@ LadspaPlugin::run_in_place (nframes_t nframes)
_control_data[i] = _shadow_data[i];
}
}
+
+ assert (_was_activated);
+
_descriptor->run (_handle, nframes);
}