summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-14 13:46:34 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-14 13:46:34 +0000
commitaadc91d7d1e12bb5de406ff3ce8b504579abd210 (patch)
tree212bf6df746e2dc4960542e3d34b98432c439eac /libs/ardour/session_transport.cc
parent24756ae04eb9e338841d107387931780f8b94ae1 (diff)
Clear clicks on locating for a seamless loop so that they
don't stop (#4213). git-svn-id: svn://localhost/ardour2/branches/3.0@10074 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 8c1bc6ff90..4534339d18 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -425,6 +425,12 @@ Session::non_realtime_locate ()
tr->non_realtime_locate (_transport_frame);
}
}
+
+ /* XXX: it would be nice to generate the new clicks here (in the non-RT thread)
+ rather than clearing them so that the RT thread has to spend time constructing
+ them (in Session::click).
+ */
+ clear_clicks ();
}