diff options
author | Chris Robinson <[email protected]> | 2011-04-26 18:17:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-04-26 18:17:50 -0700 |
commit | d50f9249d62621c1bf28d0434f9c020eb164acf2 (patch) | |
tree | 64548c8deafa501ef7487ef18479ffef038d7248 /OpenAL32/Include | |
parent | 10a9753183567ad36fbcc3228ded34c5beebdbd2 (diff) |
Add support for packed 24-bit samples
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 4 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 1627a94e..f6b8e47d 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -18,7 +18,9 @@ enum UserFmtType { UserFmtFloat = AL_FLOAT, UserFmtDouble = AL_DOUBLE, UserFmtMulaw = AL_MULAW, - UserFmtIMA4 = AL_IMA4 + UserFmtIMA4 = AL_IMA4, + UserFmtByte3 = AL_BYTE3, + UserFmtUByte3 = AL_UNSIGNED_BYTE3, }; enum UserFmtChannels { UserFmtMono = AL_MONO, diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index eab68070..1bc53739 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -24,6 +24,8 @@ #define AL_DOUBLE 0x1407 #define AL_MULAW 0x1408 #define AL_IMA4 0x1409 +#define AL_BYTE3 0x1410 +#define AL_UNSIGNED_BYTE3 0x1411 /* Channel configurations */ #define AL_MONO 0x1500 |