From b32bb5743af1d4b9f5adca3e638ec935b4be863b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 3 Jan 2005 10:31:59 +0000 Subject: [PATCH] fix some audio skips: cap at 4x fill, not 2x --- stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp index d5b496839c..4c4d62d477 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Generic_Software.cpp @@ -208,8 +208,8 @@ void RageSound_Generic_Software::DecodeThread() { /* Don't write more than two chunks worth of data in one * iteration. Since we delay for one chunk period per loop, - * this means we'll fill at no more than 2x realtime. */ - if( frames_filled >= chunksize()*2 ) + * this means we'll fill at no more than ealtime. */ + if( frames_filled >= chunksize()*4 ) break; }