From 95200fd56dc400a96bcc0949d067b9c9f9f27314 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 2 Jul 2010 20:15:10 +0000 Subject: [PATCH] a bit more of a possible fix for NPAE problem git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/2.0-ongoing@7358 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_butler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/session_butler.cc b/libs/ardour/session_butler.cc index 7793c45e5..1f2cf84bd 100644 --- a/libs/ardour/session_butler.cc +++ b/libs/ardour/session_butler.cc @@ -366,9 +366,9 @@ Session::butler_thread_work () // there are no apparent users for this calculation? end = get_microseconds(); if(end-begin > 0) { - _write_data_rate = (float) bytes / (float) (end - begin); + _write_data_rate = (float) bytes / (float) (end - begin); } else { - _write_data_rate = 0; // Well, infinity would be better + _write_data_rate = 0; // Well, infinity would be better } } @@ -385,7 +385,7 @@ Session::butler_thread_work () // cerr << "AFTER " << (*i)->name() << ": pb = " << (*i)->playback_buffer_load() << " cp = " << (*i)->capture_buffer_load() << endl; // } - continue; + goto restart; } butler_paused.signal(); -- 2.11.4.GIT