Remove erroneous non-run of plugins when the transport is stopped
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
This commit is contained in:
@@ -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)
|
||||
));
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user