From dff86eb7830218d7eb49fe4b934c6549a8184bab Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 18 Aug 2022 20:38:49 -0700 Subject: Fix the channel spread for aux send gains with full HRTF --- alc/alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/alu.cpp') diff --git a/alc/alu.cpp b/alc/alu.cpp index 6423ee49..0c4b1cb1 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -1147,7 +1147,7 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con voice->mChans[c].mDryParams.Hrtf.Target.Gain = DryGain.Base; /* Normal panning for auxiliary sends. */ - const auto coeffs = CalcAngleCoeffs(chans[c].angle, chans[c].elevation, Spread); + const auto coeffs = CalcAngleCoeffs(chans[c].angle, chans[c].elevation, spread); for(uint i{0};i < NumSends;i++) { -- cgit v1.2.3