From 205f9bca9672eb294d5f1626a90332c7502d3387 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 29 Jun 2015 13:59:26 -0400 Subject: [PATCH] push seek-after-state-loaded into butler thread, to avoid multiple threads doing disk i/o related stuff --- libs/ardour/session_state.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 2bf04d9ab2..a921747ac2 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -398,14 +398,7 @@ Session::session_loaded () /* Now, finally, we can fill the playback buffers */ BootMessage (_("Filling playback buffers")); - - boost::shared_ptr rl = routes.reader(); - for (RouteList::iterator r = rl->begin(); r != rl->end(); ++r) { - boost::shared_ptr trk = boost::dynamic_pointer_cast (*r); - if (trk && !trk->hidden()) { - trk->seek (_transport_frame, true); - } - } + force_locate (_transport_frame, false); } string