aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
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 /Alc
parente82c27ab0402fae11811a34b5b44ba4462f35f4e (diff)
Make some defines local to ALu.c
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c6
1 files changed, 6 insertions, 0 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)