aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-10-03 12:11:50 -0700
committerChris Robinson <[email protected]>2016-10-03 12:11:50 -0700
commit67c74e858bca5946cd4d0b5ccc912364a147e111 (patch)
tree2f904051c5a476220e49be5bd431806cc4b2bdc3
parenta258790539dd072d2e54d462ab73de013a41b9a2 (diff)
Finalize AL_SOFT_gain_clamp_ex
-rw-r--r--Alc/ALc.c2
-rw-r--r--OpenAL32/Include/alMain.h5
-rw-r--r--include/AL/alext.h5
3 files changed, 6 insertions, 6 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index a37e1242..7e220205 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -715,7 +715,7 @@ static const ALchar alExtList[] =
"AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET "
"AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES "
"AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_deferred_updates "
- "AL_SOFT_direct_channels AL_SOFTX_gain_clamp_ex AL_SOFT_loop_points "
+ "AL_SOFT_direct_channels AL_SOFT_gain_clamp_ex AL_SOFT_loop_points "
"AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length";
static ATOMIC(ALCenum) LastNullDeviceError = ATOMIC_INIT_STATIC(ALC_NO_ERROR);
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 6320bc98..af599227 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -127,11 +127,6 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format);
#endif
#endif
-#ifndef AL_SOFT_gain_clamp_ex
-#define AL_SOFT_gain_clamp_ex 1
-#define AL_GAIN_LIMIT_SOFT 0x200E
-#endif
-
typedef ALint64SOFT ALint64;
typedef ALuint64SOFT ALuint64;
diff --git a/include/AL/alext.h b/include/AL/alext.h
index 6af581aa..0090c804 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -431,6 +431,11 @@ ALC_API ALCboolean ALC_APIENTRY alcResetDeviceSOFT(ALCdevice *device, const ALCi
#endif
#endif
+#ifndef AL_SOFT_gain_clamp_ex
+#define AL_SOFT_gain_clamp_ex 1
+#define AL_GAIN_LIMIT_SOFT 0x200E
+#endif
+
#ifdef __cplusplus
}
#endif