push seek-after-state-loaded into butler thread, to avoid multiple threads doing disk i/o related stuff
This commit is contained in:
parent
a51dcaaa21
commit
205f9bca96
@ -398,14 +398,7 @@ Session::session_loaded ()
|
|||||||
/* Now, finally, we can fill the playback buffers */
|
/* Now, finally, we can fill the playback buffers */
|
||||||
|
|
||||||
BootMessage (_("Filling playback buffers"));
|
BootMessage (_("Filling playback buffers"));
|
||||||
|
force_locate (_transport_frame, false);
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
Loading…
Reference in New Issue
Block a user