From 401a9bacd17ef7a08053a4edbc09d93c6f78a291 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 15 Jun 2020 02:27:29 -0700 Subject: Don't bother with otherwise unused Aux channels --- alc/backends/base.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'alc/backends/base.cpp') 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; } } -- cgit v1.2.3