summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-10-01 04:55:03 -0700
committerChris Robinson <[email protected]>2011-10-01 04:55:03 -0700
commit92f95e4d94aa798c3dc909e7c0880202e894117e (patch)
treeff6518efd6ae07ce6708c17c9c2e9509e5accfa8 /OpenAL32/Include
parentd1011f8d37e0e11ecb486e509ccd2e481ca34157 (diff)
Add support for AL_EXT_ALAW
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alBuffer.h1
-rw-r--r--OpenAL32/Include/alMain.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 9393a6e6..7c6bc5b9 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -18,6 +18,7 @@ enum UserFmtType {
UserFmtFloat = AL_FLOAT,
UserFmtDouble = AL_DOUBLE,
UserFmtMulaw = AL_MULAW,
+ UserFmtAlaw = AL_ALAW,
UserFmtIMA4 = AL_IMA4,
UserFmtByte3 = AL_BYTE3,
UserFmtUByte3 = AL_UNSIGNED_BYTE3,
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 36c84153..16165aa6 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -63,7 +63,8 @@ ALC_API void ALC_APIENTRY alcRenderSamplesSOFT(ALCdevice *device, ALCvoid *buffe
#define AL_BYTE3 0x1408
#define AL_UNSIGNED_BYTE3 0x1409
#define AL_MULAW 0x1410
-#define AL_IMA4 0x1411
+#define AL_ALAW 0x1411
+#define AL_IMA4 0x1412
/* Channel configurations */
#define AL_MONO 0x1500