Make some defines local to ALu.c

This commit is contained in:
Chris Robinson
2007-12-31 01:16:13 -08:00
parent e82c27ab04
commit 7a99b1fa32
2 changed files with 6 additions and 6 deletions
+6
View File
@@ -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)
-6
View File
@@ -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"