mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-28 16:08:12 +01:00
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:
parent
23612a9a4d
commit
c45ec1ea94
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue