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()
|
2009-01-31 05:11:38 -05: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;
|