(svn r17140) -Change: allow higher sample rate and higher quality samples. Based on work by orudge.

This commit is contained in:
rubidium
2009-08-09 23:04:08 +00:00
parent 9ee2a66c86
commit 8e058c2d27
7 changed files with 80 additions and 21 deletions

View File

@@ -25,7 +25,7 @@ const char *SoundDriver_SDL::Start(const char * const *parm)
const char *s = SdlOpen(SDL_INIT_AUDIO);
if (s != NULL) return s;
spec.freq = GetDriverParamInt(parm, "hz", 11025);
spec.freq = GetDriverParamInt(parm, "hz", 44100);
spec.format = AUDIO_S16SYS;
spec.channels = 2;
spec.samples = 512;