aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alExtension.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-04-10 09:48:37 -0700
committerChris Robinson <[email protected]>2011-04-10 09:48:37 -0700
commit936acf8c10bf08c302542bad8069b740c4ccd3a5 (patch)
tree712f812435a7ad094a12f89e790ccbc100b59a1f /OpenAL32/alExtension.c
parent358d402cd088889fc4690ed440123e687d89866e (diff)
Allow the buffer_samples API to be retrieved
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r--OpenAL32/alExtension.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index 67d12050..ed7e590f 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -136,6 +136,50 @@ static const ALenums enumeration[] = {
{ "AL_FORMAT_71CHN_MULAW", AL_FORMAT_71CHN_MULAW },
{ "AL_FORMAT_REAR_MULAW", AL_FORMAT_REAR_MULAW },
+ // Internal Buffer Formats
+ { "AL_MONO8", AL_MONO8 },
+ { "AL_MONO16", AL_MONO16 },
+ { "AL_MONO32F", AL_MONO32F },
+ { "AL_STEREO8", AL_STEREO8 },
+ { "AL_STEREO16", AL_STEREO16 },
+ { "AL_STEREO32F", AL_STEREO32F },
+ { "AL_QUAD8", AL_QUAD8 },
+ { "AL_QUAD16", AL_QUAD16 },
+ { "AL_QUAD32F", AL_QUAD32F },
+ { "AL_REAR8", AL_REAR8 },
+ { "AL_REAR16", AL_REAR16 },
+ { "AL_REAR32F", AL_REAR32F },
+ { "AL_5POINT1_8", AL_5POINT1_8 },
+ { "AL_5POINT1_16", AL_5POINT1_16 },
+ { "AL_5POINT1_32F", AL_5POINT1_32F },
+ { "AL_6POINT1_8", AL_6POINT1_8 },
+ { "AL_6POINT1_16", AL_6POINT1_16 },
+ { "AL_6POINT1_32F", AL_6POINT1_32F },
+ { "AL_7POINT1_8", AL_7POINT1_8 },
+ { "AL_7POINT1_16", AL_7POINT1_16 },
+ { "AL_7POINT1_32F", AL_7POINT1_32F },
+
+ // Buffer Channel Configurations
+ { "AL_MONO", AL_MONO },
+ { "AL_STEREO", AL_STEREO },
+ { "AL_QUAD", AL_QUAD },
+ { "AL_REAR", AL_REAR },
+ { "AL_5POINT1", AL_5POINT1 },
+ { "AL_6POINT1", AL_6POINT1 },
+ { "AL_7POINT1", AL_7POINT1 },
+
+ // Buffer Sample Types
+ { "AL_BYTE", AL_BYTE },
+ { "AL_UNSIGNED_BYTE", AL_UNSIGNED_BYTE },
+ { "AL_SHORT", AL_SHORT },
+ { "AL_UNSIGNED_SHORT", AL_UNSIGNED_SHORT },
+ { "AL_INT", AL_INT },
+ { "AL_UNSIGNED_INT", AL_UNSIGNED_INT },
+ { "AL_FLOAT", AL_FLOAT },
+ { "AL_DOUBLE", AL_DOUBLE },
+ { "AL_MULAW", AL_MULAW },
+ { "AL_IMA4", AL_IMA4 },
+
// Buffer attributes
{ "AL_FREQUENCY", AL_FREQUENCY },
{ "AL_BITS", AL_BITS },