From 08b081bbf8959d1689d19ba7ee1342c1a000173d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 22 Jan 2004 07:51:17 +0000 Subject: [PATCH] cleanup fix buffersize --- stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp index 1ea17c48e1..0d7ef102a8 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp @@ -14,13 +14,12 @@ const int channels = 2; const int bytes_per_frame = channels*2; /* 16-bit */ const int samplerate = 44100; -const int buffersize_frames = 1024*16; /* in frames */ +const int buffersize_frames = 1024*4; /* in frames */ const int buffersize = buffersize_frames * bytes_per_frame; /* in bytes */ /* We'll fill the buffer in chunks this big. This should evenly divide the * buffer size. */ const int num_chunks = 8; -const int chunksize_frames = buffersize_frames / num_chunks; const int chunksize = buffersize / num_chunks; int RageSound_DSound_Software::MixerThread_start(void *p)