diff options
author | Chris Robinson <[email protected]> | 2019-12-29 20:35:47 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-29 20:35:47 -0800 |
commit | c1cf10f508dfb939bd264c88b075aac9511dc994 (patch) | |
tree | 216cd5147d40201db383641891a5a219a396a315 /alc/alu.cpp | |
parent | 9ac8f25a05ff8fc6950b3056c78d937737baf68f (diff) |
Handle downmixing for mono output
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 227ab575..4b2a5c26 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -934,8 +934,7 @@ void CalcPanningAndFilters(ALvoice *voice, const ALfloat xpos, const ALfloat ypo } } } - else if(DirectChannels != DirectMode::Off && Device->FmtChans != DevFmtMono - && Device->FmtChans != DevFmtAmbi3D) + else if(DirectChannels != DirectMode::Off && Device->FmtChans != DevFmtAmbi3D) { /* Direct source channels always play local. Skip the virtual channels * and write inputs to the matching real outputs. |