From ebb30ec5b0e219fdf2b21fbfdd1be6e17cb31376 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 18 Dec 2007 13:37:07 -0800 Subject: Implement AL_AIR_ABSORPTION_FACTOR source property --- OpenAL32/Include/alMain.h | 1 + OpenAL32/Include/alSource.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 8ffda560..5a221065 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -98,6 +98,7 @@ extern char szDebug[256]; //#define OUTPUT_BUFFER_SIZE (32768*SWMIXER_OUTPUT_RATE/22050) #define SPEEDOFSOUNDMETRESPERSEC (343.3f) +#define AIRABSORBGAINHF (0.994f) typedef struct { ALCboolean (*OpenPlayback)(ALCdevice*, const ALCchar*); diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 4493c006..38b0094d 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -68,6 +68,8 @@ typedef struct ALsource_struct ALboolean DryGainHFAuto; ALfloat OuterGainHF; + ALfloat AirAbsorptionFactor; + // Index to itself ALuint source; -- cgit v1.2.3