summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-31 01:16:13 -0800
committerChris Robinson <[email protected]>2007-12-31 01:16:13 -0800
commit7a99b1fa32341460eb3144e860e6bd23467ae919 (patch)
tree24686601bbf322ac0230a9212c757e25b4f355af
parente82c27ab0402fae11811a34b5b44ba4462f35f4e (diff)
Make some defines local to ALu.c
-rw-r--r--Alc/ALu.c6
-rw-r--r--OpenAL32/Include/alu.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index b19bd518..bb2bbd0a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -56,6 +56,12 @@ typedef long long ALint64;
#define __min min
#endif
+#define BUFFERSIZE 48000
+#define FRACTIONBITS 14
+#define FRACTIONMASK ((1L<<FRACTIONBITS)-1)
+#define MAX_PITCH 4
+#define OUTPUTCHANNELS 6
+
__inline ALuint aluBytesFromFormat(ALenum format)
{
switch(format)
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index ecf32e5c..d43e0127 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -1,12 +1,6 @@
#ifndef _ALU_H_
#define _ALU_H_
-#define BUFFERSIZE 48000
-#define FRACTIONBITS 14
-#define FRACTIONMASK ((1L<<FRACTIONBITS)-1)
-#define MAX_PITCH 4
-#define OUTPUTCHANNELS 6
-
#include "AL/al.h"
#include "AL/alc.h"