summaryrefslogtreecommitdiff
path: root/src/sound/win32_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/win32_s.cpp')
-rw-r--r--src/sound/win32_s.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound/win32_s.cpp b/src/sound/win32_s.cpp
index 776158adf..a7327863e 100644
--- a/src/sound/win32_s.cpp
+++ b/src/sound/win32_s.cpp
@@ -56,11 +56,11 @@ const char *SoundDriver_Win32::Start(const char * const *parm)
wfex.wFormatTag = WAVE_FORMAT_PCM;
wfex.nChannels = 2;
wfex.wBitsPerSample = 16;
- wfex.nSamplesPerSec = GetDriverParamInt(parm, "hz", 11025);
+ wfex.nSamplesPerSec = GetDriverParamInt(parm, "hz", 44100);
wfex.nBlockAlign = (wfex.nChannels * wfex.wBitsPerSample) / 8;
wfex.nAvgBytesPerSec = wfex.nSamplesPerSec * wfex.nBlockAlign;
- _bufsize = GetDriverParamInt(parm, "bufsize", (GB(GetVersion(), 0, 8) > 5) ? 2048 : 1024);
+ _bufsize = GetDriverParamInt(parm, "bufsize", (GB(GetVersion(), 0, 8) > 5) ? 8192 : 4096);
if (waveOutOpen(&_waveout, WAVE_MAPPER, &wfex, (DWORD_PTR)&waveOutProc, 0, CALLBACK_FUNCTION) != MMSYSERR_NOERROR)
return "waveOutOpen failed";