From d60ca669a04effa6f4b0aa18dc9f14d02a285430 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 11 May 2010 23:22:15 +0000 Subject: [PATCH] Update diskstream statistics when rolling. Should fix #3067. git-svn-id: svn://localhost/ardour2/branches/3.0@7096 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_process.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index e24b660fb6..ee84bbbbff 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -359,6 +359,8 @@ Session::process_with_events (nframes_t nframes) return; } + get_track_statistics (); + nframes -= this_nframes; if (frames_moved < 0) { @@ -706,6 +708,8 @@ Session::follow_slave_silently (nframes_t nframes, float slave_speed) silent_process_routes (nframes, need_butler); + get_track_statistics (); + if (need_butler) { _butler->summon (); } @@ -795,6 +799,8 @@ Session::process_without_events (nframes_t nframes) return; } + get_track_statistics (); + if (frames_moved < 0) { decrement_transport_position (-frames_moved); } else {