summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-06 17:25:47 -0700
committerChris Robinson <[email protected]>2013-10-06 17:25:47 -0700
commit79edd2cf3b46b22d3e6c57aec11b942809f24ff3 (patch)
treeb8d75b8de358eb4ea3c251907936cd7c70b9ac8b /OpenAL32/Include/alu.h
parent6425480d40e2a1b150c208db0421eabb51fe0624 (diff)
Use a macro for the silence threshold
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 076abea6..7327d85b 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -43,6 +43,8 @@ typedef ALvoid (*WetMixerFunc)(const struct SendParams *params,
ALuint BufferSize);
+#define GAIN_SILENCE_THRESHOLD (0.00001f)
+
#define SPEEDOFSOUNDMETRESPERSEC (343.3f)
#define AIRABSORBGAINHF (0.99426f) /* -0.05dB */