diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sound/sdl_s.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/sdl_s.cpp b/src/sound/sdl_s.cpp index 22f5fa07d..57ef9ab9d 100644 --- a/src/sound/sdl_s.cpp +++ b/src/sound/sdl_s.cpp @@ -35,7 +35,7 @@ const char *SoundDriver_SDL::Start(const char * const *parm) spec.freq = GetDriverParamInt(parm, "hz", 44100); spec.format = AUDIO_S16SYS; spec.channels = 2; - spec.samples = 512; + spec.samples = GetDriverParamInt(parm, "samples", 1024); spec.callback = fill_sound_buffer; MxInitialize(spec.freq); SDL_CALL SDL_OpenAudio(&spec, &spec); |