aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-23 03:24:51 -0700
committerChris Robinson <[email protected]>2021-10-23 03:24:51 -0700
commitaa92c6c0a8f5d01056b25226743310b9352635d2 (patch)
tree487e52968cb4ae3c3d28ac92b273555ca80df738
parentf963a2c543a35edf4810c5a1c106d6162e51b274 (diff)
Fix the ambisonic scaling used by custom decoders
-rw-r--r--alc/panning.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index a8f780b1..a7cf95ca 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -433,6 +433,7 @@ DecoderView MakeDecoderView(ALCdevice *device, const AmbDecConf *conf,
{
ret.mOrder = decoder.mOrder;
ret.mIs3D = decoder.mIs3D;
+ ret.mScaling = decoder.mScaling;
ret.mChannels = {decoder.mChannels.data(), chan_count};
ret.mOrderGain = decoder.mOrderGain;
ret.mCoeffs = {decoder.mCoeffs.data(), chan_count};