Skip LFE for aux send gains with Direct Channels

master
Chris Robinson 2022-08-18 20:40:45 -07:00
parent dff86eb783
commit 1482f0b23d
1 changed files with 4 additions and 0 deletions

View File

@ -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++)