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

14 lines
538 B
Plaintext
Raw Normal View History

2011-09-22 19:08:49 -04:00
$OpenBSD: patch-src_platform_SDLMedia_cxx,v 1.3 2011/09/22 23:08:49 jasper Exp $
--- src/platform/SDLMedia.cxx.orig Tue Jun 7 16:28:52 2011
+++ src/platform/SDLMedia.cxx Thu Sep 22 23:55:14 2011
@@ -105,8 +105,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;