aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-17 19:15:51 -0700
committerChris Robinson <[email protected]>2010-03-17 19:15:51 -0700
commit932e5ec9b8bb544bb4a5227a538bb231e94162c6 (patch)
treecc9fea298a5946577700ab05e3aadc6c0487b25e
parentaf5fb1d5351859fd23662b82e404565122770caa (diff)
The enums are the same as with mcforamts, so advertise AL_EXT_MULAW too
-rw-r--r--Alc/ALc.c5
-rw-r--r--OpenAL32/alExtension.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index bafb2dbd..11d125a8 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -214,8 +214,9 @@ static ALCenum g_eLastContextError = ALC_NO_ERROR;
static const ALchar alExtList[] =
"AL_EXTX_buffer_sub_data AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE "
"AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS "
- "AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object "
- "AL_EXT_source_distance_model AL_LOKI_quadriphonic";
+ "AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET "
+ "AL_EXTX_sample_buffer_object AL_EXT_source_distance_model "
+ "AL_LOKI_quadriphonic";
// Mixing Priority Level
ALint RTPrioLevel;
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index 7a227471..e8cea98f 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -253,7 +253,9 @@ static ALenums enumeration[]={
{ (ALchar *)"AL_FORMAT_REAR16", AL_FORMAT_REAR16 },
{ (ALchar *)"AL_FORMAT_REAR32", AL_FORMAT_REAR32 },
{ (ALchar *)"AL_FORMAT_MONO_MULAW", AL_FORMAT_MONO_MULAW },
+ { (ALchar *)"AL_FORMAT_MONO_MULAW_EXT", AL_FORMAT_MONO_MULAW },
{ (ALchar *)"AL_FORMAT_STEREO_MULAW", AL_FORMAT_STEREO_MULAW },
+ { (ALchar *)"AL_FORMAT_STEREO_MULAW_EXT", AL_FORMAT_STEREO_MULAW },
{ (ALchar *)"AL_FORMAT_QUAD_MULAW", AL_FORMAT_QUAD_MULAW },
{ (ALchar *)"AL_FORMAT_51CHN_MULAW", AL_FORMAT_51CHN_MULAW },
{ (ALchar *)"AL_FORMAT_61CHN_MULAW", AL_FORMAT_61CHN_MULAW },