From fc6fd7973f9c6f79b21151a1634bbf6d4e7808d5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 14 Jun 2021 03:14:07 +0200 Subject: [PATCH] Reset performance counters along with xrun count This is mainly relevant after session export, which uses freewheeling and processing take much longer than running realtime. --- libs/ardour/session_transport.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 7a494e402c..83df2f6cae 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1815,6 +1815,7 @@ void Session::reset_xrun_count () { _xrun_count = 0; + ARDOUR::reset_performance_meters (this); Xrun (-1); /* EMIT SIGNAL */ }