aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 324c18fa..cb290e0c 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -163,6 +163,8 @@ static __inline void al_print(const char *fname, unsigned int line, const char *
#define LOWPASSFREQCUTOFF (5000)
+#define DEFAULT_HEAD_DAMPEN (0.25f)
+
// Find the next power-of-2 for non-power-of-2 numbers.
static __inline ALuint NextPowerOf2(ALuint value)
@@ -269,6 +271,9 @@ struct ALCdevice_struct
struct bs2b *Bs2b;
ALCint Bs2bLevel;
+ // Simulated dampening from head occlusion
+ ALfloat HeadDampen;
+
// Dry path buffer mix
float DryBuffer[BUFFERSIZE][OUTPUTCHANNELS];