openbsd-ports/games/bzflag/patches/patch-src_platform_SDLMedia_cxx

14 lines
537 B
Plaintext
Raw Normal View History

$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;