From 931d422443758062b9622b84782c8b2194ba6b51 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 2 Jul 2011 02:25:34 -0700 Subject: Use separate ALC enums for loopback device formats --- Alc/ALc.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Alc') 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 }, -- cgit v1.2.3