From aadc91d7d1e12bb5de406ff3ce8b504579abd210 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Sep 2011 13:46:34 +0000 Subject: [PATCH] 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 --- libs/ardour/session_transport.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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 (); }