diff options
author | Chris Robinson <[email protected]> | 2021-10-23 05:48:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-10-23 05:48:47 -0700 |
commit | 0e93fc53f4cf5bdc749a23a46573d690b2f1c443 (patch) | |
tree | 03a4849a56f8589bf69387b619a71418b1437304 /alc/panning.cpp | |
parent | d5dc2828bf1476845861a07faffae86c3106b7af (diff) |
Don't reset the ambisonic layout and scale with stereo output
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 6 |
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)}; |