diff options
Diffstat (limited to 'alc/effects/compressor.cpp')
-rw-r--r-- | alc/effects/compressor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/compressor.cpp b/alc/effects/compressor.cpp index 176e5a58..44ffaaef 100644 --- a/alc/effects/compressor.cpp +++ b/alc/effects/compressor.cpp @@ -161,7 +161,7 @@ void Compressor_setParami(EffectProps *props, ALCcontext *context, ALenum param, case AL_COMPRESSOR_ONOFF: if(!(val >= AL_COMPRESSOR_MIN_ONOFF && val <= AL_COMPRESSOR_MAX_ONOFF)) SETERR_RETURN(context, AL_INVALID_VALUE,, "Compressor state out of range"); - props->Compressor.OnOff = val; + props->Compressor.OnOff = val != AL_FALSE; break; default: |