From e6a7a679339bf71719775da7b6111cd4857bd6f0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 Jan 2012 19:53:48 +0000 Subject: [PATCH] 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 --- libs/ardour/route.cc | 5 +++++ 1 file changed, 5 insertions(+) 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 (*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 */