summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 23:32:28 -0800
committerChris Robinson <[email protected]>2008-01-15 23:32:28 -0800
commit8cbbf17519193ddf8f49678a77e92088f5778d69 (patch)
tree4069c064a19ce4cf2de18873b42a463282b4f145 /OpenAL32/Include
parent24f433b938d69dfc7dd9ba1588ec4650b5dfcb28 (diff)
Allow getting and setting reverb parameters, as well as setting reverb effects
Reverb is still not implemented. The parameters just no-op for now.
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alEffect.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index 2b473c0e..1ee4b22d 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -43,6 +43,23 @@ typedef struct ALeffect_struct
// Effect type (AL_EFFECT_NULL, ...)
ALenum type;
+ struct {
+ ALfloat Density;
+ ALfloat Diffusion;
+
+ ALfloat Gain;
+ ALfloat GainHF;
+ ALfloat DecayTime;
+ ALfloat DecayHFRatio;
+ ALfloat ReflectionsGain;
+ ALfloat ReflectionsDelay;
+ ALfloat LateReverbGain;
+ ALfloat LateReverbDelay;
+ ALfloat AirAbsorptionGainHF;
+ ALfloat RoomRolloffFactor;
+ ALboolean DecayHFLimit;
+ } Reverb;
+
// Index to itself
ALuint effect;