From 314ba2f3903296e10a6212da6c8d9ee84a694df6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 16 Jun 2022 18:36:04 -0700 Subject: Don't apply effect auto send adjustments for non-reverb effects --- alc/alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alc/alu.cpp b/alc/alu.cpp index c7fb5f57..a06d5675 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -1391,7 +1391,7 @@ void CalcAttnSourceParams(Voice *voice, const VoiceProps *props, const ContextBa */ for(uint i{props->WetGainAuto ? 0u : NumSends};i < NumSends;++i) { - if(!SendSlots[i]) + if(!SendSlots[i] || !(SendSlots[i]->DecayTime > 0.0f)) continue; auto calc_attenuation = [](float distance, float refdist, float rolloff) noexcept -- cgit v1.2.3