13
0

push seek-after-state-loaded into butler thread, to avoid multiple threads doing disk i/o related stuff

This commit is contained in:
Paul Davis 2015-06-29 13:59:26 -04:00
parent a51dcaaa21
commit 205f9bca96

View File

@ -398,14 +398,7 @@ Session::session_loaded ()
/* Now, finally, we can fill the playback buffers */
BootMessage (_("Filling playback buffers"));
boost::shared_ptr<RouteList> rl = routes.reader();
for (RouteList::iterator r = rl->begin(); r != rl->end(); ++r) {
boost::shared_ptr<Track> trk = boost::dynamic_pointer_cast<Track> (*r);
if (trk && !trk->hidden()) {
trk->seek (_transport_frame, true);
}
}
force_locate (_transport_frame, false);
}
string