openbsd-ports/games/bzflag/patches/patch-src_platform_SDLMedia_cxx
sthen 192f13f1bf Update bzflag to 2.0.12; from Brad with some tweaks from ajacoutot
and myself. Amongst other things, this fixes some 64-bit issues.
ok ajacoutot@
2009-09-02 08:52:22 +00:00

14 lines
537 B
Plaintext

$OpenBSD: patch-src_platform_SDLMedia_cxx,v 1.2 2009/09/02 08:52:22 sthen Exp $
--- src/platform/SDLMedia.cxx.orig Thu Nov 15 17:10:47 2007
+++ src/platform/SDLMedia.cxx Sat Jan 31 21:26:00 2009
@@ -106,8 +106,7 @@ bool SDLMedia::openAudio()
// how big a fragment to use? we want to hold at around 1/10th of
// a second.
- // probably SDL is using multiple buffering, make it a 3rd
- int fragmentSize = (int)(0.03f * (float)audioOutputRate);
+ int fragmentSize = (int)(0.1f * (float)audioOutputRate);
int n;
n = 0;