aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-18 23:29:52 -0800
committerChris Robinson <[email protected]>2019-12-18 23:29:52 -0800
commit6480c2c854b67979e07c5b6113169733760395ec (patch)
tree6a28ca22a25db0ebd657ce480cb59ea4de97131f /alc/alu.cpp
parent5e35f73cadda8e92204e580712ef8d29ab0a91b1 (diff)
Don't apply direct channels with mono output
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 48641f93..f228ff29 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -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
* and write inputs to the matching real outputs.