mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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:
parent
928c7cf10c
commit
df3eaf9188
3 changed files with 4 additions and 6 deletions
|
|
@ -1269,7 +1269,7 @@ RCOptionEditor::RCOptionEditor ()
|
||||||
add_option (_("Audio"),
|
add_option (_("Audio"),
|
||||||
new BoolOption (
|
new BoolOption (
|
||||||
"plugins-stop-with-transport",
|
"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::get_plugins_stop_with_transport),
|
||||||
sigc::mem_fun (*_rc_config, &RCConfiguration::set_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 */
|
/* 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, plugins_stop_with_transport, "plugins-stop-with-transport", false)
|
||||||
CONFIG_VARIABLE (bool, do_not_record_plugins, "do-not-record-plugins", 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)
|
CONFIG_VARIABLE (bool, stop_recording_on_xrun, "stop-recording-on-xrun", false)
|
||||||
|
|
|
||||||
|
|
@ -518,11 +518,6 @@ Route::process_output_buffers (BufferSet& bufs,
|
||||||
continue;
|
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
|
#ifndef NDEBUG
|
||||||
/* if it has any inputs, make sure they match */
|
/* if it has any inputs, make sure they match */
|
||||||
if (boost::dynamic_pointer_cast<UnknownProcessor> (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) {
|
if (boost::dynamic_pointer_cast<UnknownProcessor> (*i) == 0 && (*i)->input_streams() != ChanCount::ZERO) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue