13
0

Amend 883ee9c2, setup required invisible processor

This fixes a potential silent master-bus when re-loading a session
("mains_out" may be skipped).
This commit is contained in:
Robin Gareus 2019-03-15 15:54:07 +01:00
parent cec5ea102f
commit 2f09f72b3d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2969,6 +2969,15 @@ Route::set_processor_state (const XMLNode& node)
*/
_processors = new_order;
/* When a required/existing internal processor is not in the list, it needs to
* be added via configure_processors() -> setup_invisible_processors()
*/
if (_monitor_control) {
must_configure |= find (_processors.begin(), _processors.end(), _monitor_control) == _processors.end ();
}
if (_main_outs) {
must_configure |= find (_processors.begin(), _processors.end(), _main_outs) == _processors.end ();
}
if (_delayline) {
must_configure |= find (_processors.begin(), _processors.end(), _delayline) == _processors.end ();
}