diff options
author | Chris Robinson <[email protected]> | 2011-07-05 04:36:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-05 04:36:41 -0700 |
commit | c8d385c998781e5fd12145fce871d7042aa9c686 (patch) | |
tree | 46601d4e6e3a381313cde3b37d1d7099946319f4 /OpenAL32/Include/alEffect.h | |
parent | 4c35bfbc10ec58828b1c83c88d53721dcd49eb32 (diff) |
Use a helper to tell if an effect type is reverb
Diffstat (limited to 'OpenAL32/Include/alEffect.h')
-rw-r--r-- | OpenAL32/Include/alEffect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 2e91c34c..7ff9fff3 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -78,6 +78,8 @@ typedef struct ALeffect ALuint effect; } ALeffect; +static __inline ALboolean IsReverbEffect(ALenum type) +{ return type == AL_EFFECT_REVERB || type == AL_EFFECT_EAXREVERB; } ALvoid ReleaseALEffects(ALCdevice *device); |