diff options
Diffstat (limited to 'OpenAL32/Include/alEffect.h')
-rw-r--r-- | OpenAL32/Include/alEffect.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index cea785dc..c0bbb40a 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -59,11 +59,7 @@ extern const struct ALeffectVtable ALnull_vtable; extern const struct ALeffectVtable ALdedicated_vtable; -struct ALeffect -{ - // Effect type (AL_EFFECT_NULL, ...) - ALenum type; - +typedef union ALeffectProps { struct { // Shared Reverb Properties ALfloat Density; @@ -152,6 +148,14 @@ struct ALeffect ALfloat EQCenter; ALfloat EQBandwidth; } Distortion; +} ALeffectProps; + +struct ALeffect +{ + // Effect type (AL_EFFECT_NULL, ...) + ALenum type; + + ALeffectProps Props; const struct ALeffectVtable *vtbl; |