aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-23 05:48:47 -0700
committerChris Robinson <[email protected]>2021-10-23 05:48:47 -0700
commit0e93fc53f4cf5bdc749a23a46573d690b2f1c443 (patch)
tree03a4849a56f8589bf69387b619a71418b1437304 /alc/panning.cpp
parentd5dc2828bf1476845861a07faffae86c3106b7af (diff)
Don't reset the ambisonic layout and scale with stereo output
Diffstat (limited to 'alc/panning.cpp')
-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)};