diff options
author | Chris Robinson <[email protected]> | 2022-08-18 20:40:45 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-18 20:40:45 -0700 |
commit | 1482f0b23de8a82e41ae9db1bdd898a8aea9f67e (patch) | |
tree | 1f319c70eb763ae0fe69c8bac3d3f0fc0a3766e6 /alc | |
parent | dff86eb7830218d7eb49fe4b934c6549a8184bab (diff) |
Skip LFE for aux send gains with Direct Channels
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 0c4b1cb1..dcd3c7d2 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -1044,6 +1044,10 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con */ for(size_t c{0};c < num_channels;c++) { + /* Skip LFE */ + if(chans[c].channel == LFE) + continue; + const auto coeffs = CalcAngleCoeffs(chans[c].angle, chans[c].elevation, 0.0f); for(uint i{0};i < NumSends;i++) |