summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-16 17:26:50 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-16 17:26:50 -0500
commit2e27e21d3a09889311e18a8efe11abcaa6d9c8b3 (patch)
tree709fb3509cf1005686117ec68e2465150727d3da /libs/ardour/session.cc
parent934e827420de65504450d25f25f79a2b6df5060f (diff)
parent10933e200369ecceb2c8b3a52be41b930955d269 (diff)
Merge branch 'master' into cairocanvas
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index b880883e09..d93d689459 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -805,6 +805,12 @@ Session::remove_monitor_section ()
/* force reversion to Solo-In-Place */
Config->set_solo_control_is_listen_control (false);
+ /* if we are auditioning, cancel it ... this is a workaround
+ to a problem (auditioning does not execute the process graph,
+ which is needed to remove routes when using >1 core for processing)
+ */
+ cancel_audition ();
+
{
/* Hold process lock while doing this so that we don't hear bits and
* pieces of audio as we work on each route.
@@ -835,6 +841,10 @@ Session::remove_monitor_section ()
remove_route (_monitor_out);
auto_connect_master_bus ();
+
+ if (auditioner) {
+ auditioner->connect ();
+ }
}
void
@@ -979,6 +989,10 @@ Session::add_monitor_section ()
(*x)->enable_monitor_send ();
}
}
+
+ if (auditioner) {
+ auditioner->connect ();
+ }
}
void