aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-18 13:37:07 -0800
committerChris Robinson <[email protected]>2007-12-18 13:37:07 -0800
commitebb30ec5b0e219fdf2b21fbfdd1be6e17cb31376 (patch)
tree75ec156208d2caf3cd0395e437dd8332a66ae8d3 /OpenAL32/Include
parent168d8e3beee5f809f79f6d0067cd51e25ba65295 (diff)
Implement AL_AIR_ABSORPTION_FACTOR source property
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h1
-rw-r--r--OpenAL32/Include/alSource.h2
2 files changed, 3 insertions, 0 deletions
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;