aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c4
-rw-r--r--OpenAL32/alSource.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 61036585..7759393b 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -715,8 +715,8 @@ 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_SOFT_loop_points AL_SOFT_MSADPCM "
- "AL_SOFT_source_latency AL_SOFT_source_length";
+ "AL_SOFT_direct_channels AL_SOFTX_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/alSource.c b/OpenAL32/alSource.c
index a7d7f35c..f20498f4 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -453,14 +453,14 @@ static ALboolean SetSourcefv(ALsource *Source, ALCcontext *Context, SourceProp p
return AL_TRUE;
case AL_MIN_GAIN:
- CHECKVAL(*values >= 0.0f && *values <= 1.0f);
+ CHECKVAL(*values >= 0.0f);
Source->MinGain = *values;
DO_UPDATEPROPS();
return AL_TRUE;
case AL_MAX_GAIN:
- CHECKVAL(*values >= 0.0f && *values <= 1.0f);
+ CHECKVAL(*values >= 0.0f);
Source->MaxGain = *values;
DO_UPDATEPROPS();