aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-02 02:25:34 -0700
committerChris Robinson <[email protected]>2011-07-02 02:25:34 -0700
commit931d422443758062b9622b84782c8b2194ba6b51 (patch)
treeb409b4afb2e3bec16e6c57292c8cd3ecc3579321 /Alc/ALc.c
parent895150eebee7f9f172204c98a195073b55114bcb (diff)
Use separate ALC enums for loopback device formats
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 068540cd..c700eef0 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -313,6 +313,23 @@ static const ALCenums enumeration[] = {
{ "ALC_FORMAT_CHANNELS_SOFT", ALC_FORMAT_CHANNELS_SOFT },
{ "ALC_FORMAT_TYPE_SOFT", ALC_FORMAT_TYPE_SOFT },
+ // Buffer Channel Configurations
+ { "ALC_MONO", ALC_MONO },
+ { "ALC_STEREO", ALC_STEREO },
+ { "ALC_QUAD", ALC_QUAD },
+ { "ALC_5POINT1", ALC_5POINT1 },
+ { "ALC_6POINT1", ALC_6POINT1 },
+ { "ALC_7POINT1", ALC_7POINT1 },
+
+ // Buffer Sample Types
+ { "ALC_BYTE", ALC_BYTE },
+ { "ALC_UNSIGNED_BYTE", ALC_UNSIGNED_BYTE },
+ { "ALC_SHORT", ALC_SHORT },
+ { "ALC_UNSIGNED_SHORT", ALC_UNSIGNED_SHORT },
+ { "ALC_INT", ALC_INT },
+ { "ALC_UNSIGNED_INT", ALC_UNSIGNED_INT },
+ { "ALC_FLOAT", ALC_FLOAT },
+
// ALC Error Message
{ "ALC_NO_ERROR", ALC_NO_ERROR },
{ "ALC_INVALID_DEVICE", ALC_INVALID_DEVICE },