Don't add the Auditioner to the route-list
This fixes a bug introduce in 2d11667ce3
. The Auditoner
was accidentally added to the shared_ptr<> referenced RouteList.
This commit is contained in:
parent
40eefeddd6
commit
6fbcf83779
|
@ -1221,11 +1221,13 @@ Session::butler_transport_work ()
|
|||
void
|
||||
Session::non_realtime_overwrite (int on_entry, bool& finished)
|
||||
{
|
||||
boost::shared_ptr<RouteList> rl = routes.reader();
|
||||
RouteList rl (*(routes.reader ()));
|
||||
|
||||
if (is_auditioning ()) {
|
||||
rl->push_back (auditioner);
|
||||
rl.push_back (auditioner);
|
||||
}
|
||||
for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
|
||||
|
||||
for (RouteList::iterator i = rl.begin(); i != rl.end(); ++i) {
|
||||
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (*i);
|
||||
if (tr && tr->pending_overwrite ()) {
|
||||
tr->overwrite_existing_buffers ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user