aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp
index 0eeef026..edafabff 100644
--- a/alc/alu.cpp
+++ b/alc/alu.cpp
@@ -939,6 +939,9 @@ void CalcPanningAndFilters(Voice *voice, const float xpos, const float ypos, con
AmbiScale::ThirdOrder2DUp : AmbiScale::ThirdOrderUp;
UpsampleBFormatTransform(Device->mAmbiOrder, upsampler, shrot);
}
+ else if(voice->mAmbiOrder == 4)
+ UpsampleBFormatTransform(Device->mAmbiOrder, AmbiScale::FourthOrder2DUp,
+ shrot);
}
/* Convert the rotation matrix for input ordering and scaling, and