diff options
author | Chris Robinson <[email protected]> | 2013-10-03 07:55:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-03 07:55:12 -0700 |
commit | 41175ec84c81a9b04e0f6501024935ae137ca0f3 (patch) | |
tree | 3d698c0b72890814353976dd8ce25faaefc626e7 /OpenAL32/alEffect.c | |
parent | b9fd3f9eb4f1aac20ff47938539b7fbf76044152 (diff) |
Implement the Compressor effect
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r-- | OpenAL32/alEffect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index ed6a1d5a..ca908a40 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -429,6 +429,10 @@ static void InitEffectParams(ALeffect *effect, ALenum type) effect->Props.Chorus.Delay = AL_CHORUS_DEFAULT_DELAY; effect->vtbl = &ALchorus_vtable; break; + case AL_EFFECT_COMPRESSOR: + effect->Props.Compressor.OnOff = AL_COMPRESSOR_DEFAULT_ONOFF; + effect->vtbl = &ALcompressor_vtable; + break; case AL_EFFECT_DISTORTION: effect->Props.Distortion.Edge = AL_DISTORTION_DEFAULT_EDGE; effect->Props.Distortion.Gain = AL_DISTORTION_DEFAULT_GAIN; |