aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorRaulshc <[email protected]>2018-07-22 00:48:54 +0200
committerkcat <[email protected]>2018-07-25 12:51:09 -0700
commit83dba26ea6a1bbbd3c9ba266523204014446ef09 (patch)
treed483ce3dfb3e84b1f8eee44042b4d003973b82c9 /Alc/ALc.c
parent809f709ba6afd81defae132128f68d0fce56ea82 (diff)
EFX: Autowah implementation
Add autowah effect using biquad peaking filter and envelope follower
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 97d62812..535f9475 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -555,9 +555,7 @@ static const struct {
DECL(AL_EFFECT_VOCAL_MORPHER),
#endif
DECL(AL_EFFECT_RING_MODULATOR),
-#if 0
DECL(AL_EFFECT_AUTOWAH),
-#endif
DECL(AL_EFFECT_COMPRESSOR),
DECL(AL_EFFECT_EQUALIZER),
DECL(AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT),
@@ -658,6 +656,11 @@ static const struct {
DECL(AL_DEDICATED_GAIN),
+ DECL(AL_AUTOWAH_ATTACK_TIME),
+ DECL(AL_AUTOWAH_RELEASE_TIME),
+ DECL(AL_AUTOWAH_RESONANCE),
+ DECL(AL_AUTOWAH_PEAK_GAIN),
+
DECL(AL_NUM_RESAMPLERS_SOFT),
DECL(AL_DEFAULT_RESAMPLER_SOFT),
DECL(AL_SOURCE_RESAMPLER_SOFT),