mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
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
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue