This commit is contained in:
Glenn Maynard
2004-09-09 00:20:45 +00:00
parent 8e7164dae5
commit 6b450d396e
+3 -2
View File
@@ -495,8 +495,9 @@ void DSoundBuf::CheckUnderrun( int cursorstart, int cursorend, int chunksize )
writeahead = (writeahead / bytes_per_frame()) * bytes_per_frame();
writeahead = min( writeahead, buffersize );
LOG->Trace("insufficient writeahead: wants %i, but we'll only fill to %i; writeahead adjusted from %i to %i",
prefetch/bytes_per_frame(), fake_buffer_bytes_filled/bytes_per_frame(), old_writeahead/bytes_per_frame(), writeahead/bytes_per_frame() );
LOG->Trace("insufficient writeahead: wants %i (cursor at %i..%i), but we'll only fill to %i; writeahead adjusted from %i to %i",
prefetch/bytes_per_frame(), cursorstart, cursorend,
fake_buffer_bytes_filled/bytes_per_frame(), old_writeahead/bytes_per_frame(), writeahead/bytes_per_frame() );
}
bool DSoundBuf::get_output_buf( char **buffer, unsigned *bufsiz, int chunksize )