Changeset - r14258:e3f9e509ff79
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2010-01-15 23:45:26
rubidium@openttd.org
(svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/sound/sdl_s.cpp
Show inline comments
 
@@ -35,7 +35,7 @@ const char *SoundDriver_SDL::Start(const
 
	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);
0 comments (0 inline, 0 general)