Don't apply direct channels with mono output

This commit is contained in:
Chris Robinson 2019-12-18 23:29:52 -08:00
parent 5e35f73cad
commit 6480c2c854

View File

@ -933,7 +933,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo
} }
} }
} }
else if(DirectChannels && Device->FmtChans != DevFmtAmbi3D) else if(DirectChannels && Device->FmtChans != DevFmtMono && Device->FmtChans != DevFmtAmbi3D)
{ {
/* Direct source channels always play local. Skip the virtual channels /* Direct source channels always play local. Skip the virtual channels
* and write inputs to the matching real outputs. * and write inputs to the matching real outputs.