Remove erroneous non-run of plugins when the transport is stopped
authorCarl Hetherington <carl@carlh.net>
Sat, 17 Mar 2012 23:41:51 +0000 (23:41 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 17 Mar 2012 23:41:51 +0000 (23:41 +0000)
and plugins-stop-with-transport is true; this option is supposed
to mean the flush() is called on processors on transport stop, in
order to silence reverb tails etc.  Comment this and try to make
the GUI option name more helpful.  Should fix #4748.

git-svn-id: svn://localhost/ardour2/branches/3.0@11725 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/rc_option_editor.cc
libs/ardour/ardour/rc_configuration_vars.h
libs/ardour/route.cc

index ee0a9828a024f923737a5d2cf5885e9a54cbbe6e..3dc5972eac36d2956c37650835a89bb3f18c2976 100644 (file)
@@ -1269,7 +1269,7 @@ RCOptionEditor::RCOptionEditor ()
        add_option (_("Audio"),
             new BoolOption (
                     "plugins-stop-with-transport",
-                    _("Stop plugins when the transport is stopped"),
+                    _("Flush plugins when the transport is stopped"),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::get_plugins_stop_with_transport),
                     sigc::mem_fun (*_rc_config, &RCConfiguration::set_plugins_stop_with_transport)
                     ));
index 766db9db1ca8e839d9451683576e45022a08d0fc..9c631b11ee5041fb472ea21194e61d61140b4759 100644 (file)
@@ -111,6 +111,9 @@ CONFIG_VARIABLE (gain_t, click_gain, "click-gain", 1.0)
 
 /* transport control and related */
 
+/** if true, we call Processor::flush() on all processors when the transport is stopped.
+ *  Note that processors are still run when the transport is not moving.
+ */
 CONFIG_VARIABLE (bool, plugins_stop_with_transport, "plugins-stop-with-transport", false)
 CONFIG_VARIABLE (bool, do_not_record_plugins, "do-not-record-plugins", false)
 CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
index c726aec8334440c0f48493509a1d0f6434c88c3f..f5bd4dc636a259113d72f832dbad066590d8c819 100644 (file)
@@ -518,11 +518,6 @@ Route::process_output_buffers (BufferSet& bufs,
                        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 */
                if (boost::dynamic_pointer_cast<UnknownProcessor> (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) {