summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-24 19:53:48 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-24 19:53:48 +0000
commite6a7a679339bf71719775da7b6111cd4857bd6f0 (patch)
tree3ec9a19b2699ef94d68c8404cb78f54c5caa8387 /libs/ardour
parentddd162bdb050558f93222800ebd57d737f2c9e0d (diff)
Make plugins-stop-with-transport work; should fix #4641
as a side-effect. git-svn-id: svn://localhost/ardour2/branches/3.0@11336 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/route.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index ee316de900..0f04a3743d 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -515,6 +515,11 @@ Route::process_output_buffers (BufferSet& bufs,
/* don't ::run() the meter, otherwise it will have its previous peak corrupted */
continue;
}
+
+ if (Config->get_plugins_stop_with_transport() && _session.transport_speed() == 0 && boost::dynamic_pointer_cast<PluginInsert> (*i)) {
+ /* don't run plugins with the transport stopped, if configured this way */
+ continue;
+ }
#ifndef NDEBUG
/* if it has any inputs, make sure they match */