diff options
author | Chris Robinson <[email protected]> | 2017-05-21 00:01:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-21 00:01:39 -0700 |
commit | 0b2467ed54507f64509dc21f6ba9f2d346ef5628 (patch) | |
tree | fb4f26f3b0229e72eeef55a3e8920b10afeeb909 /OpenAL32/Include | |
parent | c234b25ac7ace092867cc3348e7ea2b2754a7284 (diff) |
Use a macro to specify the decay target gain
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 30b245a5..c44f94d4 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -348,6 +348,9 @@ typedef void (*HrtfDirectMixerFunc)(ALfloat *restrict LeftOut, ALfloat *restrict #define SPEEDOFSOUNDMETRESPERSEC (343.3f) #define AIRABSORBGAINHF (0.99426f) /* -0.05dB */ +/* Target gain for the reverb decay feedback reaching the decay time. */ +#define REVERB_DECAY_GAIN (0.001f) /* -60 dB */ + #define FRACTIONBITS (12) #define FRACTIONONE (1<<FRACTIONBITS) #define FRACTIONMASK (FRACTIONONE-1) |