aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-06 23:38:05 -0700
committerChris Robinson <[email protected]>2014-08-06 23:38:05 -0700
commite64d0f83cdedd8726f957c831faab7bb208efe41 (patch)
tree6551e8541e34e6be4744a85c20c8a78e05ec33bc
parent23441be474d2e6c272913432ae25fbf509b551b8 (diff)
Disable the autowah effect
There's apparently some issues with it causing noise or killing the output. It might be due to the per-sample changes being too harsh for the filter to keep up with, but it's not something I can take care of in time for release. This commit should be reverted after release when work on fixing it can resume.
-rw-r--r--Alc/ALc.c4
-rw-r--r--OpenAL32/alExtension.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f0875f37..9aad4ddb 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -588,7 +588,9 @@ static const ALCenums enumeration[] = {
DECL(AL_EFFECT_PITCH_SHIFTER),
#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),
@@ -662,10 +664,12 @@ static const ALCenums enumeration[] = {
DECL(AL_RING_MODULATOR_HIGHPASS_CUTOFF),
DECL(AL_RING_MODULATOR_WAVEFORM),
+#if 0
DECL(AL_AUTOWAH_ATTACK_TIME),
DECL(AL_AUTOWAH_PEAK_GAIN),
DECL(AL_AUTOWAH_RELEASE_TIME),
DECL(AL_AUTOWAH_RESONANCE),
+#endif
DECL(AL_COMPRESSOR_ONOFF),
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c
index fc23a932..29f21783 100644
--- a/OpenAL32/alExtension.c
+++ b/OpenAL32/alExtension.c
@@ -38,7 +38,9 @@
const struct EffectList EffectList[] = {
{ "eaxreverb", EAXREVERB, "AL_EFFECT_EAXREVERB", AL_EFFECT_EAXREVERB },
{ "reverb", REVERB, "AL_EFFECT_REVERB", AL_EFFECT_REVERB },
+#if 0
{ "autowah", AUTOWAH, "AL_EFFECT_AUTOWAH", AL_EFFECT_AUTOWAH },
+#endif
{ "chorus", CHORUS, "AL_EFFECT_CHORUS", AL_EFFECT_CHORUS },
{ "compressor", COMPRESSOR, "AL_EFFECT_COMPRESSOR", AL_EFFECT_COMPRESSOR },
{ "distortion", DISTORTION, "AL_EFFECT_DISTORTION", AL_EFFECT_DISTORTION },