From 9f896e664caf19f7a52d7b76cb7dfc8df6e6e03c Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 26 Jul 2003 10:49:20 +0000 Subject: [PATCH] Nosound buf sizes are now also power-of-two git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1088 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/sound/mixsdl/sound_mixsdl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sc2/src/sc2code/libs/sound/mixsdl/sound_mixsdl.c b/sc2/src/sc2code/libs/sound/mixsdl/sound_mixsdl.c index e89d4062d..5660e2a0d 100644 --- a/sc2/src/sc2code/libs/sound/mixsdl/sound_mixsdl.c +++ b/sc2/src/sc2code/libs/sound/mixsdl/sound_mixsdl.c @@ -199,17 +199,17 @@ TFB_NoSound_InitSound (int driver, int flags) if (flags & TFB_SOUNDFLAGS_HQAUDIO) { audio_rate = 44100; - audio_bufsize = 3072; + audio_bufsize = 4096; } else if (flags & TFB_SOUNDFLAGS_LQAUDIO) { audio_rate = 22050; - audio_bufsize = 1536; + audio_bufsize = 2048; } else { audio_rate = 44100; - audio_bufsize = 3072; + audio_bufsize = 4096; } fprintf (stderr, "Initializing MixSDL mixer.\n");