aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-18 20:38:49 -0700
committerChris Robinson <[email protected]>2022-08-18 20:38:49 -0700
commitdff86eb7830218d7eb49fe4b934c6549a8184bab (patch)
tree11771d10ca88ad13396222f5d8d5e044f5ad7f39 /alc
parented9408e53799cefd527bd3079bf1940d5c35bfc9 (diff)
Fix the channel spread for aux send gains with full HRTF
Diffstat (limited to 'alc')
-rw-r--r--alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
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++)
{