diff options
author | Chris Robinson <[email protected]> | 2014-05-03 17:51:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-03 17:51:06 -0700 |
commit | b2e533fbfc3c61bbf3936750e85039f9f664f007 (patch) | |
tree | 8ae5aa0a168ac979b40d7dc7c74c409b055823c9 /OpenAL32/Include/alu.h | |
parent | 34e96aef601e8e417bbc61708d68e5f6bbd2842e (diff) |
Clamp the current and target gain lower bound to epsilon
Should give a bit more wiggle room for the gain stepping to get lower than the
silence threshold.
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index f931b737..bf2a7f77 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -111,7 +111,7 @@ typedef ALvoid (*WetMixerFunc)(struct SendParams *params, ALuint OutPos, ALuint BufferSize); -#define GAIN_SILENCE_THRESHOLD (0.00001f) +#define GAIN_SILENCE_THRESHOLD (0.00001f) /* -100dB */ #define SPEEDOFSOUNDMETRESPERSEC (343.3f) #define AIRABSORBGAINHF (0.99426f) /* -0.05dB */ |