aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alEffect.h
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 /OpenAL32/Include/alEffect.h
parent809f709ba6afd81defae132128f68d0fce56ea82 (diff)
EFX: Autowah implementation
Add autowah effect using biquad peaking filter and envelope follower
Diffstat (limited to 'OpenAL32/Include/alEffect.h')
-rw-r--r--OpenAL32/Include/alEffect.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index 4d28a708..7b849c0c 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -12,6 +12,7 @@ struct ALeffect;
enum {
EAXREVERB_EFFECT = 0,
REVERB_EFFECT,
+ AUTOWAH_EFFECT,
CHORUS_EFFECT,
COMPRESSOR_EFFECT,
DISTORTION_EFFECT,
@@ -34,7 +35,7 @@ struct EffectList {
int type;
ALenum val;
};
-#define EFFECTLIST_SIZE 13
+#define EFFECTLIST_SIZE 14
extern const struct EffectList EffectList[EFFECTLIST_SIZE];
@@ -60,6 +61,7 @@ const struct ALeffectVtable T##_vtable = { \
extern const struct ALeffectVtable ALeaxreverb_vtable;
extern const struct ALeffectVtable ALreverb_vtable;
+extern const struct ALeffectVtable ALautowah_vtable;
extern const struct ALeffectVtable ALchorus_vtable;
extern const struct ALeffectVtable ALcompressor_vtable;
extern const struct ALeffectVtable ALdistortion_vtable;
@@ -104,6 +106,13 @@ typedef union ALeffectProps {
} Reverb;
struct {
+ ALfloat AttackTime;
+ ALfloat ReleaseTime;
+ ALfloat Resonance;
+ ALfloat PeakGain;
+ } Autowah;
+
+ struct {
ALint Waveform;
ALint Phase;
ALfloat Rate;