aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-17 18:10:35 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commit79604c3c0e0f3f71832a09348cc273a38882cc3e (patch)
tree06a417c3dfc4db8c4512c181fafa2b1cf82ea5d2
parent7a974b2460156ea8af9e22b02ae1c06899a5047d (diff)
Preserve RMS for the high-frequency HRTF ambisonic coefficients
-rw-r--r--Alc/panning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 72e3c5ae..cf42d3fb 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -896,9 +896,9 @@ static void InitHrtfPanning(ALCdevice *device)
{ 5.55555556e-02f, 0.00000000e+00f, -1.23717915e-01f, 0.00000000e+00f, 0.00000000e+00f, 0.00000000e+00f, 0.00000000e+00f, 0.00000000e+00f },
};
static const ALfloat AmbiOrderHFGainFOA[MAX_AMBI_ORDER+1] = {
- 3.00000000e+00f, 1.73205081e+00f
+ 1.00000000e+00f, 5.77350269e-01f
}, AmbiOrderHFGainHOA[MAX_AMBI_ORDER+1] = {
- 2.40192231e+00f, 1.86052102e+00f, 9.60768923e-01f
+ 9.80580676e-01f, 7.59554525e-01f, 3.92232270e-01f
};
const ALfloat (*restrict AmbiMatrix)[MAX_AMBI_COEFFS] = AmbiMatrixFOA;
const ALfloat *restrict AmbiOrderHFGain = AmbiOrderHFGainFOA;