From 5874e387a8aafd6218e1517b47697ae8aced7d49 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 4 Nov 2013 13:51:19 -0800 Subject: Move some inline methods to their appropriate headers --- OpenAL32/Include/alEffect.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include/alEffect.h') diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 57e7a15f..f656c56a 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -177,6 +177,11 @@ typedef struct ALeffect { ALuint id; } ALeffect; +inline struct ALeffect *LookupEffect(ALCdevice *device, ALuint id) +{ return (struct ALeffect*)LookupUIntMapKey(&device->EffectMap, id); } +inline struct ALeffect *RemoveEffect(ALCdevice *device, ALuint id) +{ return (struct ALeffect*)RemoveUIntMapKey(&device->EffectMap, id); } + inline ALboolean IsReverbEffect(ALenum type) { return type == AL_EFFECT_REVERB || type == AL_EFFECT_EAXREVERB; } -- cgit v1.2.3