in the comments, the author wants .1 sec, so use .1 sec.

the other comment about SDL *probably* using multiple buffers is
not really true.  SDL itself doesn't use multiple buffers.  but some
backends might efectively do that.  the sndio backend (the only one
we want to use) doesn't.

ok?

-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===================================================================
RCS file: /home2/cvs/OpenBSD/ports/games/bzflag/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile    13 Nov 2007 14:54:31 -0000      1.13
+++ Makefile    25 Jan 2009 01:32:11 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       graphical multiplayer 3-d tank war game
 DISTNAME=      bzflag-2.0.8
-PKGNAME=       ${DISTNAME}p3
+PKGNAME=       ${DISTNAME}p4
 CATEGORIES=    games x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=bzflag/}
 
Index: patches/patch-src_3D_FontManager_cxx
===================================================================
RCS file: 
/home2/cvs/OpenBSD/ports/games/bzflag/patches/patch-src_3D_FontManager_cxx,v
retrieving revision 1.2
diff -u -r1.2 patch-src_3D_FontManager_cxx
--- patches/patch-src_3D_FontManager_cxx        22 Sep 2006 03:42:57 -0000      
1.2
+++ patches/patch-src_3D_FontManager_cxx        25 Jan 2009 01:32:11 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_3D_FontManager_cxx,v 1.2 2006/09/22 03:42:57 pvalchev Exp $
---- src/3D/FontManager.cxx.orig        Tue Jan  3 19:50:35 2006
-+++ src/3D/FontManager.cxx     Sun Aug  6 08:00:32 2006
-@@ -271,6 +271,8 @@ void FontManager::drawString(float x, fl
+--- src/3D/FontManager.cxx.orig        Tue Jan  3 16:50:35 2006
++++ src/3D/FontManager.cxx     Sat Jan 24 06:22:25 2009
+@@ -271,6 +271,8 @@ void FontManager::drawString(float x, float y, float z
    }
  
  
Index: patches/patch-src_bzflag_playing_cxx
===================================================================
RCS file: 
/home2/cvs/OpenBSD/ports/games/bzflag/patches/patch-src_bzflag_playing_cxx,v
retrieving revision 1.1
diff -u -r1.1 patch-src_bzflag_playing_cxx
--- patches/patch-src_bzflag_playing_cxx        22 Sep 2006 03:42:57 -0000      
1.1
+++ patches/patch-src_bzflag_playing_cxx        25 Jan 2009 01:32:11 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_bzflag_playing_cxx,v 1.1 2006/09/22 03:42:57 pvalchev Exp $
---- src/bzflag/playing.cxx.orig        Sat Aug  5 04:59:14 2006
-+++ src/bzflag/playing.cxx     Sat Aug  5 04:59:28 2006
-@@ -6375,11 +6375,12 @@ static void            defaultErrorCallback(const 
+--- src/bzflag/playing.cxx.orig        Sat May  6 13:37:27 2006
++++ src/bzflag/playing.cxx     Sat Jan 24 06:22:25 2009
+@@ -6375,11 +6375,12 @@ static void            defaultErrorCallback(const 
char* msg)
  
  static void           startupErrorCallback(const char* msg)
  {
Index: patches/patch-src_platform_SDLMedia_cxx
===================================================================
RCS file: patches/patch-src_platform_SDLMedia_cxx
diff -N patches/patch-src_platform_SDLMedia_cxx
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_platform_SDLMedia_cxx     25 Jan 2009 01:32:11 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- src/platform/SDLMedia.cxx.orig     Sat Jan 24 06:56:49 2009
++++ src/platform/SDLMedia.cxx  Sat Jan 24 15:59:52 2009
+@@ -68,8 +68,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;

Reply via email to