aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-09-22 17:01:47 -0700
committerChris Robinson <[email protected]>2008-09-22 17:01:47 -0700
commit6567cdd7b5839da03b623c845ce942815691cd06 (patch)
tree16900a339ee69924482b7a0d8bdd9e7eb4e9c140 /OpenAL32
parent5bbf55a401a6460a833eec841b29682104e0b1e6 (diff)
Air absorption factor is applied to the dB value, not linear gain
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index fb9cfb5e..f378a72f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -126,6 +126,7 @@ extern char _alDebug[256];
#define SPEEDOFSOUNDMETRESPERSEC (343.3f)
#define AIRABSORBGAINHF (0.994f)
+#define AIRABSORBGAINDBHF (-0.05f)
#define LOWPASSFREQCUTOFF (5000)