aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-04-08 08:54:28 -0700
committerChris Robinson <[email protected]>2010-04-08 08:54:28 -0700
commitb273d616ad5a9979cbf0b69318aded6ec821450e (patch)
treefd19d6b0a40228669960f7cb30b1e46e04bb9f26 /OpenAL32/Include
parentc16b895460a51d9f89a8f728155e36ab1009c8c5 (diff)
Implement a skeleton Ring Modulator effect
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h1
-rw-r--r--OpenAL32/Include/alEffect.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 7f217dd1..9a916dd8 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -45,6 +45,7 @@ ALeffectState *NoneCreate(void);
ALeffectState *EAXVerbCreate(void);
ALeffectState *VerbCreate(void);
ALeffectState *EchoCreate(void);
+ALeffectState *ModulatorCreate(void);
#define ALEffect_Destroy(a) ((a)->Destroy((a)))
#define ALEffect_DeviceUpdate(a,b) ((a)->DeviceUpdate((a),(b)))
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index fa49e5d1..6cbf0e5d 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -13,6 +13,7 @@ enum {
EAXREVERB = 0,
REVERB,
ECHO,
+ MODULATOR,
MAX_EFFECTS
};
@@ -62,6 +63,12 @@ typedef struct ALeffect
ALfloat Spread;
} Echo;
+ struct {
+ ALfloat Frequency;
+ ALfloat HighPassCutoff;
+ ALint Waveform;
+ } Modulator;
+
// Index to itself
ALuint effect;