aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-15 12:54:34 -0700
committerChris Robinson <[email protected]>2022-08-15 12:54:34 -0700
commitf9e6fbaeff2761d90bfd572acb52f9acebf5ea7b (patch)
tree8608b11f1a01faa96e76ae79c34ea3e247b7dc3c /alc/panning.cpp
parente805c62152ac2e7cd7953ab28f3b3d9bdb813042 (diff)
Use amplitude-matching HF scaling for non-FOA HRTF output
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index 1704097d..36216bbe 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -819,12 +819,12 @@ void InitHrtfPanning(ALCdevice *device)
/*ENRGY*/ 2.000000000e+00f, 1.154700538e+00f
}, AmbiOrderHFGain2O[MaxAmbiOrder+1]{
/*ENRGY 1.972026594e+00f, 1.527525232e+00f, 7.888106377e-01f*/
- /*AMP 1.000000000e+00f, 7.745966692e-01f, 4.000000000e-01f*/
- /*RMS*/ 9.128709292e-01f, 7.071067812e-01f, 3.651483717e-01f
+ /*AMP*/ 1.000000000e+00f, 7.745966692e-01f, 4.000000000e-01f
+ /*RMS 9.128709292e-01f, 7.071067812e-01f, 3.651483717e-01f*/
}, AmbiOrderHFGain3O[MaxAmbiOrder+1]{
/*ENRGY 1.865086714e+00f, 1.606093894e+00f, 1.142055301e+00f, 5.683795528e-01f*/
- /*AMP 1.000000000e+00f, 8.611363116e-01f, 6.123336207e-01f, 3.047469850e-01f*/
- /*RMS*/ 8.340921354e-01f, 7.182670250e-01f, 5.107426573e-01f, 2.541870634e-01f
+ /*AMP*/ 1.000000000e+00f, 8.611363116e-01f, 6.123336207e-01f, 3.047469850e-01f
+ /*RMS 8.340921354e-01f, 7.182670250e-01f, 5.107426573e-01f, 2.541870634e-01f*/
};
static_assert(al::size(AmbiPoints1O) == al::size(AmbiMatrix1O), "First-Order Ambisonic HRTF mismatch");