From 960a4c503d1a9c70fd7be343fb152c46e39d4577 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 27 Feb 2004 10:01:44 +0000 Subject: [PATCH] static --- .../arch/Sound/RageSoundDriver_DSound_Software.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp index 3b97d01036..d061f3d663 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp @@ -8,18 +8,16 @@ #include "RageUtil.h" #include "RageSoundManager.h" -#include "SDL.h" -/* samples */ -const int channels = 2; -const int bytes_per_frame = channels*2; /* 16-bit */ -const int samplerate = 44100; -const int buffersize = 1024*4; /* in frames */ +static const int channels = 2; +static const int bytes_per_frame = channels*2; /* 16-bit */ +static const int samplerate = 44100; +static const int buffersize = 1024*4; /* in frames */ /* We'll fill the buffer in chunks this big. This should evenly divide the * buffer size. */ -const int num_chunks = 8; -const int chunksize = buffersize / num_chunks; +static const int num_chunks = 8; +static const int chunksize = buffersize / num_chunks; int RageSound_DSound_Software::MixerThread_start(void *p) {