aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/reverb.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-09-03 21:06:39 -0700
committerChris Robinson <[email protected]>2022-09-03 21:06:39 -0700
commitf2ff2bb2f6f2f9190210b60833b4232fe5398b07 (patch)
tree4506fea997e6c6828e428bea6791df467971d118 /alc/effects/reverb.cpp
parentd2a2a696a13645414410c89614d482c33eae4d19 (diff)
Use the difference in HF scale for upsampling ambisonics
Diffstat (limited to 'alc/effects/reverb.cpp')
-rw-r--r--alc/effects/reverb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/reverb.cpp b/alc/effects/reverb.cpp
index ea3367d0..71640a87 100644
--- a/alc/effects/reverb.cpp
+++ b/alc/effects/reverb.cpp
@@ -686,7 +686,7 @@ void ReverbState::deviceUpdate(const DeviceBase *device, const Buffer&)
if(device->mAmbiOrder > 1)
{
mUpmixOutput = true;
- mOrderScales = AmbiScale::GetHFOrderScales(1, true);
+ mOrderScales = AmbiScale::GetHFOrderScales(1, device->mAmbiOrder);
}
else
{