Fix the ambisonic scaling used by custom decoders

This commit is contained in:
Chris Robinson 2021-10-23 03:24:51 -07:00
parent f963a2c543
commit aa92c6c0a8

View File

@ -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};