aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/panning.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index 40be1d89..bb600241 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -605,12 +605,8 @@ void InitPanning(ALCdevice *device, const bool hqdec=false, const bool stablize=
}
}
- /* For non-DevFmtAmbi3D, set the ambisonic order and reset the layout and
- * scale.
- */
+ /* For non-DevFmtAmbi3D, set the ambisonic order. */
device->mAmbiOrder = decoder.mOrder;
- device->mAmbiLayout = DevAmbiLayout::ACN;
- device->mAmbiScale = DevAmbiScaling::N3D;
const size_t ambicount{decoder.mIs3D ? AmbiChannelsFromOrder(decoder.mOrder) :
Ambi2DChannelsFromOrder(decoder.mOrder)};