aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-17 11:35:19 -0800
committerChris Robinson <[email protected]>2017-01-17 11:35:19 -0800
commitbfb7a6e4c85838bf2f6ed28fba452c55ad50c566 (patch)
tree7028e4a86ebe7af3587cf66f79611e5ee4069d47
parente9009968fbfe3f89b308f6f2880e3bbafbb27884 (diff)
Small update for the "virtual" Ambi2DDecoder coefficients
-rw-r--r--Alc/bformatdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/bformatdec.c b/Alc/bformatdec.c
index fa7d2e19..f3cc476f 100644
--- a/Alc/bformatdec.c
+++ b/Alc/bformatdec.c
@@ -130,10 +130,10 @@ static const ALfloat Ambi2DPoints[4][3] = {
{ 0.707106781f, 0.0f, 0.707106781f },
};
static const ALfloat Ambi2DDecoder[4][FB_Max][MAX_AMBI_COEFFS] = {
- { { 0.353553f, 0.204094f, 0.0f, 0.204094f }, { 0.25f, 0.204094f, 0.0f, 0.204094f } },
- { { 0.353553f, -0.204094f, 0.0f, 0.204094f }, { 0.25f, -0.204094f, 0.0f, 0.204094f } },
- { { 0.353553f, 0.204094f, 0.0f, -0.204094f }, { 0.25f, 0.204094f, 0.0f, -0.204094f } },
- { { 0.353553f, -0.204094f, 0.0f, -0.204094f }, { 0.25f, -0.204094f, 0.0f, -0.204094f } },
+ { { 3.53553391e-1f, 2.04124145e-1f, 0.0f, 2.04124145e-1f }, { 0.25f, 2.04124145e-1f, 0.0f, 2.04124145e-1f } },
+ { { 3.53553391e-1f, -2.04124145e-1f, 0.0f, 2.04124145e-1f }, { 0.25f, -2.04124145e-1f, 0.0f, 2.04124145e-1f } },
+ { { 3.53553391e-1f, 2.04124145e-1f, 0.0f, -2.04124145e-1f }, { 0.25f, 2.04124145e-1f, 0.0f, -2.04124145e-1f } },
+ { { 3.53553391e-1f, -2.04124145e-1f, 0.0f, -2.04124145e-1f }, { 0.25f, -2.04124145e-1f, 0.0f, -2.04124145e-1f } },
};
static ALfloat Ambi2DEncoderT[4][MAX_AMBI_COEFFS];
@@ -168,7 +168,7 @@ static alonce_flag bformatdec_inited = AL_ONCE_FLAG_INIT;
static void init_bformatdec(void)
{
- ALuint i, j;
+ size_t i, j;
MixMatrixRow = SelectRowMixer();