aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 09:25:17 -0800
committerChris Robinson <[email protected]>2018-01-11 09:25:17 -0800
commit88545ccae5bbae0a95c5b347b8e17a0debe7b1f0 (patch)
tree4ddef94b0e3e1c3ddc64be9150a662af57093857 /OpenAL32/Include
parent3832b25f308279539a3748bafdc5056d16e4b291 (diff)
Move the EffectList array to alEffect.c/h
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alEffect.h9
-rw-r--r--OpenAL32/Include/alMain.h8
2 files changed, 9 insertions, 8 deletions
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,