aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-20 21:16:13 -0700
committerChris Robinson <[email protected]>2019-05-20 21:16:13 -0700
commit6dbd488d13d455f4538595cb5b30788048a6d20a (patch)
tree66104786541599ccbbcbe757a7195ae8efaaf980 /Alc/alu.cpp
parent136caf0cb097943aa4d06aba8205fe6cd90de4b7 (diff)
Avoid unnecessary use of CalcAngleCoeffs
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index dd99a9f5..d1e0772a 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -754,7 +754,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo
* input channels of the source sends.
*/
ALfloat coeffs[MAX_AMBI_CHANNELS];
- CalcAngleCoeffs(az, ev, Spread, coeffs);
+ CalcDirectionCoeffs({xpos, ypos, zpos}, Spread, coeffs);
for(ALsizei i{0};i < NumSends;i++)
{