diff options
author | Chris Robinson <[email protected]> | 2018-03-11 22:40:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-03-11 22:40:08 -0700 |
commit | 8eb7a94e1c07a8b3d74f84886c493d1a7dada7de (patch) | |
tree | fa0d499201c0486b2b4da7c20abbf02443f98a98 /OpenAL32/alAuxEffectSlot.c | |
parent | 6b35a4534f1047c8e6ec630cbae89ea3e25e5d74 (diff) |
Apply a distance decay on the source send for the reverb's DecayLFRatio
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index d4e6bf75..301244a0 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -686,6 +686,7 @@ ALenum InitEffectSlot(ALeffectslot *slot) slot->Params.EffectState = slot->Effect.State; slot->Params.RoomRolloff = 0.0f; slot->Params.DecayTime = 0.0f; + slot->Params.DecayLFRatio = 0.0f; slot->Params.DecayHFRatio = 0.0f; slot->Params.DecayHFLimit = AL_FALSE; slot->Params.AirAbsorptionGainHF = 1.0f; |