diff options
author | Chris Robinson <[email protected]> | 2019-12-17 22:12:47 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-17 22:12:47 -0800 |
commit | 0a65ed21900ec7f6f0a820b674adb2746c3cbfcb (patch) | |
tree | 4743a14d545c4103e69769bb3536f6d3a3263cfc /alc/alu.cpp | |
parent | 2215a4072c0a9db8bf13e9c59b13db396c93e1cd (diff) |
Use normal panning for B-Format output
It can never work since it only uses auxiliary channel labels.
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index f501bfc0..c421ff12 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) + else if(DirectChannels && Device->FmtChans != DevFmtAmbi3D) { /* Direct source channels always play local. Skip the virtual channels * and write inputs to the matching real outputs. |