From 0276d02c0fca081e9e370aac843559082551b2f7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 12 Nov 2008 07:09:10 +0000 Subject: [PATCH] don't return last stop frame as audible frame if we are stopping but not yet stopped git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4144 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ae755720ad..86e55845e4 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -1378,7 +1378,7 @@ Session::audible_frame () const nframes_t offset; nframes_t tf; - if (_transport_speed == 0.0f) { + if (_transport_speed == 0.0f && non_realtime_work_pending()) { return last_stop_frame; }