13
0

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
This commit is contained in:
Carl Hetherington 2012-01-24 19:53:48 +00:00
parent ddd162bdb0
commit e6a7a67933

View File

@ -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 */