aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-03-13 23:31:12 -0700
committerChris Robinson <[email protected]>2013-03-13 23:31:12 -0700
commit3fd0f23e48fc71718f438e035ffb09d4ba9a47a3 (patch)
treedc33a1a36aa51489f513cb68c1ed4c07b7334d47 /Alc/ALc.c
parent991aba286f32e8760811bc061b15c5102c66b3e1 (diff)
Add Chorus and Flanger effects
Code provided by Mike Gorchak
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index fd5b8894..094c974c 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -512,13 +512,13 @@ static const ALCenums enumeration[] = {
DECL(AL_EFFECT_NULL),
DECL(AL_EFFECT_REVERB),
DECL(AL_EFFECT_EAXREVERB),
-#if 0
DECL(AL_EFFECT_CHORUS),
+#if 0
DECL(AL_EFFECT_DISTORTION),
#endif
DECL(AL_EFFECT_ECHO),
-#if 0
DECL(AL_EFFECT_FLANGER),
+#if 0
DECL(AL_EFFECT_FREQUENCY_SHIFTER),
DECL(AL_EFFECT_VOCAL_MORPHER),
DECL(AL_EFFECT_PITCH_SHIFTER),
@@ -576,6 +576,20 @@ static const ALCenums enumeration[] = {
DECL(AL_ECHO_FEEDBACK),
DECL(AL_ECHO_SPREAD),
+ DECL(AL_CHORUS_WAVEFORM),
+ DECL(AL_CHORUS_PHASE),
+ DECL(AL_CHORUS_RATE),
+ DECL(AL_CHORUS_DEPTH),
+ DECL(AL_CHORUS_FEEDBACK),
+ DECL(AL_CHORUS_DELAY),
+
+ DECL(AL_FLANGER_WAVEFORM),
+ DECL(AL_FLANGER_PHASE),
+ DECL(AL_FLANGER_RATE),
+ DECL(AL_FLANGER_DEPTH),
+ DECL(AL_FLANGER_FEEDBACK),
+ DECL(AL_FLANGER_DELAY),
+
DECL(AL_RING_MODULATOR_FREQUENCY),
DECL(AL_RING_MODULATOR_HIGHPASS_CUTOFF),
DECL(AL_RING_MODULATOR_WAVEFORM),