diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 1 | ||||
-rw-r--r-- | OpenAL32/Include/alEffect.h | 66 |
2 files changed, 37 insertions, 30 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 00de7a3b..945860a0 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -98,6 +98,7 @@ ALeffectStateFactory *ALnullStateFactory_getFactory(void); ALeffectStateFactory *ALreverbStateFactory_getFactory(void); ALeffectStateFactory *ALautowahStateFactory_getFactory(void); ALeffectStateFactory *ALchorusStateFactory_getFactory(void); +ALeffectStateFactory *ALcompressorStateFactory_getFactory(void); ALeffectStateFactory *ALdistortionStateFactory_getFactory(void); ALeffectStateFactory *ALechoStateFactory_getFactory(void); ALeffectStateFactory *ALequalizerStateFactory_getFactory(void); diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 7269c13e..89fa5381 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -14,6 +14,7 @@ enum { REVERB, AUTOWAH, CHORUS, + COMPRESSOR, DISTORTION, ECHO, EQUALIZER, @@ -52,6 +53,7 @@ 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; extern const struct ALeffectVtable ALecho_vtable; extern const struct ALeffectVtable ALequalizer_vtable; @@ -99,42 +101,35 @@ typedef union ALeffectProps { } Autowah; struct { - ALfloat Delay; - ALfloat LRDelay; - - ALfloat Damping; + ALint Waveform; + ALint Phase; + ALfloat Rate; + ALfloat Depth; ALfloat Feedback; - - ALfloat Spread; - } Echo; + ALfloat Delay; + } Chorus; struct { - ALfloat Frequency; - ALfloat HighPassCutoff; - ALint Waveform; - } Modulator; + ALboolean OnOff; + } Compressor; struct { + ALfloat Edge; ALfloat Gain; - } Dedicated; + ALfloat LowpassCutoff; + ALfloat EQCenter; + ALfloat EQBandwidth; + } Distortion; struct { - ALint Waveform; - ALint Phase; - ALfloat Rate; - ALfloat Depth; - ALfloat Feedback; ALfloat Delay; - } Chorus; + ALfloat LRDelay; - struct { - ALint Waveform; - ALint Phase; - ALfloat Rate; - ALfloat Depth; + ALfloat Damping; ALfloat Feedback; - ALfloat Delay; - } Flanger; + + ALfloat Spread; + } Echo; struct { ALfloat Delay; @@ -151,12 +146,23 @@ typedef union ALeffectProps { } Equalizer; struct { - ALfloat Edge; + ALint Waveform; + ALint Phase; + ALfloat Rate; + ALfloat Depth; + ALfloat Feedback; + ALfloat Delay; + } Flanger; + + struct { + ALfloat Frequency; + ALfloat HighPassCutoff; + ALint Waveform; + } Modulator; + + struct { ALfloat Gain; - ALfloat LowpassCutoff; - ALfloat EQCenter; - ALfloat EQBandwidth; - } Distortion; + } Dedicated; } ALeffectProps; typedef struct ALeffect { |