summaryrefslogtreecommitdiff
path: root/src/sound
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-30 23:24:18 +0000
committerrubidium <rubidium@openttd.org>2008-03-30 23:24:18 +0000
commit4a1035ab95a994991b2ce802dbbd78f7dd6c0090 (patch)
tree845a4e8019b4224d85946c12f67be2fb14daa301 /src/sound
parent9598b1ecaf472201508de0a724f0728349bc3567 (diff)
downloadopenttd-4a1035ab95a994991b2ce802dbbd78f7dd6c0090.tar.xz
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
Diffstat (limited to 'src/sound')
-rw-r--r--src/sound/win32_s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/win32_s.cpp b/src/sound/win32_s.cpp
index 9f330c824..2cc45d689 100644
--- a/src/sound/win32_s.cpp
+++ b/src/sound/win32_s.cpp
@@ -59,7 +59,7 @@ const char *SoundDriver_Win32::Start(const char* const* parm)
wfex.nBlockAlign = (wfex.nChannels * wfex.wBitsPerSample) / 8;
wfex.nAvgBytesPerSec = wfex.nSamplesPerSec * wfex.nBlockAlign;
- _bufsize = GetDriverParamInt(parm, "bufsize", 1024);
+ _bufsize = GetDriverParamInt(parm, "bufsize", 2048);
if (waveOutOpen(&_waveout, WAVE_MAPPER, &wfex, (DWORD_PTR)&waveOutProc, 0, CALLBACK_FUNCTION) != MMSYSERR_NOERROR)
return "waveOutOpen failed";