aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-03-12 20:11:25 -0800
committerChris Robinson <[email protected]>2011-03-12 20:11:25 -0800
commit73123bc313fd0f700abc8569138081abca997b78 (patch)
treeb438e53a2ed62f8b6391793aaf36297da0ad8b27 /OpenAL32/Include
parent947aa1342c82fe22b2030b04e43532af0a07d978 (diff)
Add support for ALC_EXT_DEDICATED
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h2
-rw-r--r--OpenAL32/Include/alEffect.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 43d2f719..09bc363e 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -49,6 +49,8 @@ ALeffectState *EAXVerbCreate(void);
ALeffectState *VerbCreate(void);
ALeffectState *EchoCreate(void);
ALeffectState *ModulatorCreate(void);
+ALeffectState *DedicatedDLGCreate(void);
+ALeffectState *DedicatedLFECreate(void);
#define ALEffect_Destroy(a) ((a)->Destroy((a)))
#define ALEffect_DeviceUpdate(a,b) ((a)->DeviceUpdate((a),(b)))
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h
index 500b60a1..aa8e1200 100644
--- a/OpenAL32/Include/alEffect.h
+++ b/OpenAL32/Include/alEffect.h
@@ -14,6 +14,7 @@ enum {
REVERB,
ECHO,
MODULATOR,
+ DEDICATED,
MAX_EFFECTS
};
@@ -69,6 +70,10 @@ typedef struct ALeffect
ALint Waveform;
} Modulator;
+ struct {
+ ALfloat Gain;
+ } Dedicated;
+
// Index to itself
ALuint effect;
} ALeffect;