From 6b450d396e3d1a215000ccdfafa740f5f3a10fa4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 9 Sep 2004 00:20:45 +0000 Subject: [PATCH] debug --- stepmania/src/arch/Sound/DSoundHelpers.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index 1c6f32b319..b7c252be69 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -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 )