diff options
author | Chris Robinson <[email protected]> | 2007-12-31 01:16:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2007-12-31 01:16:13 -0800 |
commit | 7a99b1fa32341460eb3144e860e6bd23467ae919 (patch) | |
tree | 24686601bbf322ac0230a9212c757e25b4f355af /Alc/ALu.c | |
parent | e82c27ab0402fae11811a34b5b44ba4462f35f4e (diff) |
Make some defines local to ALu.c
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |