aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-06-15 02:27:29 -0700
committerChris Robinson <[email protected]>2020-06-15 02:27:29 -0700
commit401a9bacd17ef7a08053a4edbc09d93c6f78a291 (patch)
treea58389efcc14cacdf419cbd2724ea2b2c2649a74 /alc/backends/base.cpp
parent540315b07c086f4c9af1c632e7464433332de4a8 (diff)
Don't bother with otherwise unused Aux channels
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r--alc/backends/base.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/alc/backends/base.cpp b/alc/backends/base.cpp
index c0783f86..45a1c25d 100644
--- a/alc/backends/base.cpp
+++ b/alc/backends/base.cpp
@@ -100,31 +100,6 @@ void BackendBase::setDefaultWFXChannelOrder()
mDevice->RealOut.ChannelIndex[SideRight] = 7;
break;
case DevFmtAmbi3D:
- mDevice->RealOut.ChannelIndex[Aux0] = 0;
- if(mDevice->mAmbiOrder > 0)
- {
- mDevice->RealOut.ChannelIndex[Aux1] = 1;
- mDevice->RealOut.ChannelIndex[Aux2] = 2;
- mDevice->RealOut.ChannelIndex[Aux3] = 3;
- }
- if(mDevice->mAmbiOrder > 1)
- {
- mDevice->RealOut.ChannelIndex[Aux4] = 4;
- mDevice->RealOut.ChannelIndex[Aux5] = 5;
- mDevice->RealOut.ChannelIndex[Aux6] = 6;
- mDevice->RealOut.ChannelIndex[Aux7] = 7;
- mDevice->RealOut.ChannelIndex[Aux8] = 8;
- }
- if(mDevice->mAmbiOrder > 2)
- {
- mDevice->RealOut.ChannelIndex[Aux9] = 9;
- mDevice->RealOut.ChannelIndex[Aux10] = 10;
- mDevice->RealOut.ChannelIndex[Aux11] = 11;
- mDevice->RealOut.ChannelIndex[Aux12] = 12;
- mDevice->RealOut.ChannelIndex[Aux13] = 13;
- mDevice->RealOut.ChannelIndex[Aux14] = 14;
- mDevice->RealOut.ChannelIndex[Aux15] = 15;
- }
break;
}
}