fix some audio skips: cap at 4x fill, not 2x

This commit is contained in:
Glenn Maynard
2005-01-03 10:31:59 +00:00
parent fd43763777
commit b32bb5743a
@@ -208,8 +208,8 @@ void RageSound_Generic_Software::DecodeThread()
{ {
/* Don't write more than two chunks worth of data in one /* Don't write more than two chunks worth of data in one
* iteration. Since we delay for one chunk period per loop, * iteration. Since we delay for one chunk period per loop,
* this means we'll fill at no more than 2x realtime. */ * this means we'll fill at no more than ealtime. */
if( frames_filled >= chunksize()*2 ) if( frames_filled >= chunksize()*4 )
break; break;
} }