13
0

Do not add monitor-sends to foldback busses

This commit is contained in:
Robin Gareus 2020-04-20 00:34:36 +02:00
parent 498a58bd25
commit 3f7de5ec8e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 17 deletions

View File

@ -3293,6 +3293,7 @@ Route::enable_monitor_send ()
/* master never sends to monitor section via the normal mechanism */
assert (!is_master ());
assert (!is_monitor ());
assert (!is_foldbackbus ());
/* make sure we have one */
if (!_monitor_send) {

View File

@ -1140,12 +1140,7 @@ Session::add_monitor_section ()
ProcessorChangeBlocker pcb (this, false /* XXX */);
for (RouteList::iterator x = rls->begin(); x != rls->end(); ++x) {
if ((*x)->is_monitor()) {
/* relax */
} else if ((*x)->is_master()) {
/* relax */
} else {
if ((*x)->can_solo ()) {
(*x)->enable_monitor_send ();
}
}
@ -1265,12 +1260,7 @@ Session::reset_monitor_section ()
ProcessorChangeBlocker pcb (this, false);
for (RouteList::iterator x = rls->begin(); x != rls->end(); ++x) {
if ((*x)->is_monitor()) {
/* relax */
} else if ((*x)->is_master()) {
/* relax */
} else {
if ((*x)->can_solo ()) {
(*x)->enable_monitor_send ();
}
}
@ -3284,11 +3274,7 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
Glib::Threads::Mutex::Lock lm (_engine.process_lock());
for (RouteList::iterator x = new_routes.begin(); x != new_routes.end(); ++x) {
if ((*x)->is_monitor()) {
/* relax */
} else if ((*x)->is_master()) {
/* relax */
} else {
if ((*x)->can_solo ()) {
(*x)->enable_monitor_send ();
}
}