From 88545ccae5bbae0a95c5b347b8e17a0debe7b1f0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 11 Jan 2018 09:25:17 -0800 Subject: Move the EffectList array to alEffect.c/h --- OpenAL32/Include/alEffect.h | 9 +++++++++ OpenAL32/Include/alMain.h | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index bec50f7d..394500e0 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -27,6 +27,15 @@ extern ALboolean DisabledEffects[MAX_EFFECTS]; extern ALfloat ReverbBoost; +struct EffectList { + const char *name; + int type; + const char *ename; + ALenum val; +}; +extern const struct EffectList EffectList[]; + + struct ALeffectVtable { void (*const setParami)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALint val); void (*const setParamiv)(struct ALeffect *effect, ALCcontext *context, ALenum param, const ALint *vals); diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index c11eb6d1..a6a6471b 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -471,14 +471,6 @@ enum AmbiNorm { }; -extern const struct EffectList { - const char *name; - int type; - const char *ename; - ALenum val; -} EffectList[]; - - enum DeviceType { Playback, Capture, -- cgit v1.2.3