summaryrefslogtreecommitdiff
path: root/libs/ardour/session_butler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_butler.cc')
-rw-r--r--libs/ardour/session_butler.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/session_butler.cc b/libs/ardour/session_butler.cc
index b36d5459f3..0e9aa128dd 100644
--- a/libs/ardour/session_butler.cc
+++ b/libs/ardour/session_butler.cc
@@ -89,10 +89,15 @@ Session::request_overwrite_buffer (boost::shared_ptr<Track> t)
queue_event (ev);
}
-/** Process thread. */
void
Session::overwrite_some_buffers (boost::shared_ptr<Route> r)
{
+ /* this is called from the process thread while handling queued
+ * SessionEvents. Therefore neither playback sample or read offsets in
+ * tracks will change while we "queue" them all for an upcoming
+ * overwrite.
+ */
+
if (actively_recording()) {
return;
}