a bit more of a possible fix for NPAE problem

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7358 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-07-02 20:15:10 +00:00
parent 23612a9a4d
commit c45ec1ea94

View file

@ -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();