diff options
author | Chris Robinson <[email protected]> | 2011-03-18 07:28:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-03-18 07:28:06 -0700 |
commit | 4bdedc7fde702ddffb035601dedca7d64ad05500 (patch) | |
tree | f5853ff70b45788ed7102c66627275f17a8f6ac2 /OpenAL32 | |
parent | 9be625d6e8959f702b76abe8554043ed5992990c (diff) |
Use more appropriate enum values
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 422b7fbc..9aad3036 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -13,24 +13,28 @@ #include "AL/alc.h" #include "AL/alext.h" -#define AL_BYTE 1 -#define AL_UNSIGNED_BYTE 2 -#define AL_SHORT 3 -#define AL_UNSIGNED_SHORT 4 -#define AL_INT 5 -#define AL_UNSIGNED_INT 6 -#define AL_FLOAT 7 -#define AL_DOUBLE 8 -#define AL_MULAW 9 -#define AL_IMA4 10 -#define AL_MONO 1 -#define AL_STEREO 2 -#define AL_REAR 3 -#define AL_QUAD 4 -#define AL_5POINT1 5 /* (WFX order) */ -#define AL_6POINT1 6 /* (WFX order) */ -#define AL_7POINT1 7 /* (WFX order) */ - +/* Sample types */ +#define AL_BYTE 0x1400 +#define AL_UNSIGNED_BYTE 0x1401 +#define AL_SHORT 0x1402 +#define AL_UNSIGNED_SHORT 0x1403 +#define AL_INT 0x1404 +#define AL_UNSIGNED_INT 0x1405 +#define AL_FLOAT 0x1406 +#define AL_DOUBLE 0x1407 +#define AL_MULAW 0x1408 +#define AL_IMA4 0x1409 + +/* Channel configurations */ +#define AL_MONO 0x1500 +#define AL_STEREO 0x1501 +#define AL_REAR 0x1502 +#define AL_QUAD 0x1503 +#define AL_5POINT1 0x1504 /* (WFX order) */ +#define AL_6POINT1 0x1505 /* (WFX order) */ +#define AL_7POINT1 0x1506 /* (WFX order) */ + +/* Storage formats */ #define AL_MONO8 0x1100 #define AL_MONO16 0x1101 #define AL_MONO32F 0x10010 |