X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=snd_bsd.c;h=e202342b798ba331575571cdbd82a355b09769fc;hb=12ca8e9cda940140f95445aa8967e214fee87714;hp=adb28d8fb6c8eb3d78867a5f6471157fddeee240;hpb=da29a8beeb35293e2fd38b51883c91b5cf4cf4ad;p=xonotic%2Fdarkplaces.git diff --git a/snd_bsd.c b/snd_bsd.c index adb28d8f..e202342b 100644 --- a/snd_bsd.c +++ b/snd_bsd.c @@ -160,9 +160,9 @@ void SndSys_Submit (void) snd_renderbuffer->startframe += written / factor; - if ((unsigned int)written < nbframes * factor) + if ((unsigned int)written < limit * factor) { - Con_Printf("SndSys_Submit: audio can't keep up! (%d < %u)\n", written, nbframes * factor); + Con_Printf("SndSys_Submit: audio can't keep up! (%u < %u)\n", written, limit * factor); return; }