From f9e6fbaeff2761d90bfd572acb52f9acebf5ea7b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 15 Aug 2022 12:54:34 -0700 Subject: Use amplitude-matching HF scaling for non-FOA HRTF output --- alc/panning.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'alc/panning.cpp') 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"); -- cgit v1.2.3