2009-09-02 08:52:22 +00:00
|
|
|
$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()
|
2009-01-31 10:11:38 +00:00
|
|
|
|
|
|
|
// 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;
|