summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorJesse Chappell <jesse@essej.net>2006-01-19 18:00:07 +0000
committerJesse Chappell <jesse@essej.net>2006-01-19 18:00:07 +0000
commit5eb4a701f3c233b0f49b581b3350eb6fdf3c1012 (patch)
treef452a63e1e9366af9414eafb29af7d6e393fa5a4 /libs/ardour/route.cc
parent6ef5c8da56800bbce1c23a9ea51c9a1646d5887f (diff)
fixed various xfade and undo and updating issues. plugins no longer run on deactivated routes/tracks. other region copy/trim undo fixes
git-svn-id: svn://localhost/trunk/ardour2@279 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 5fcbd53bb6..269ed98a77 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -1756,6 +1756,12 @@ Route::silence (jack_nframes_t nframes, jack_nframes_t offset)
if (lm.locked()) {
for (RedirectList::iterator i = _redirects.begin(); i != _redirects.end(); ++i) {
+ PluginInsert* pi;
+ if (!_active && (pi = dynamic_cast<PluginInsert*> (*i)) != 0) {
+ // skip plugins, they don't need anything when we're not active
+ continue;
+ }
+
(*i)->silence (nframes, offset);
}