Do not add monitor-sends to foldback busses
This commit is contained in:
parent
498a58bd25
commit
3f7de5ec8e
@ -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) {
|
||||
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user