aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-25 18:11:45 -0800
committerChris Robinson <[email protected]>2014-11-25 18:11:45 -0800
commitbe476b372993647376de5d6133bd37e7fa77df17 (patch)
tree7086a81b14fba5ad8ffe7e4462c163938a690d75
parent0a3e11b75e0ee5e77463e62d61022a7539b5d5eb (diff)
Halve the gain of the Cube8 coefficients
-rw-r--r--Alc/panning.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index afd6ee63..474b704c 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -333,14 +333,14 @@ ALvoid aluInitPanning(ALCdevice *device)
{ SideLeft, { { 0.224739f, 0.000002f, 0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, 0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, -0.065795f }, { 0.224739f, 0.000000f, 0.260717f, 0.0f } } },
{ SideRight, { { 0.224739f, 0.000002f, -0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, -0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, 0.065795f }, { 0.224739f, 0.000000f, -0.260717f, 0.0f } } },
}, Cube8[8] = {
- { TopFrontLeft, { { 0.353553f, 0.250000f, 0.250000f, 0.250000f }, { 0.353553f, 0.250000f, 0.250000f, 0.250000f } } },
- { TopFrontRight, { { 0.353553f, 0.250000f, -0.250000f, 0.250000f }, { 0.353553f, 0.250000f, -0.250000f, 0.250000f } } },
- { TopBackLeft, { { 0.353553f, -0.250000f, 0.250000f, 0.250000f }, { 0.353553f, -0.250000f, 0.250000f, 0.250000f } } },
- { TopBackRight, { { 0.353553f, -0.250000f, -0.250000f, 0.250000f }, { 0.353553f, -0.250000f, -0.250000f, 0.250000f } } },
- { BottomFrontLeft, { { 0.353553f, 0.250000f, 0.250000f, -0.250000f }, { 0.353553f, 0.250000f, 0.250000f, -0.250000f } } },
- { BottomFrontRight, { { 0.353553f, 0.250000f, -0.250000f, -0.250000f }, { 0.353553f, 0.250000f, -0.250000f, -0.250000f } } },
- { BottomBackLeft, { { 0.353553f, -0.250000f, 0.250000f, -0.250000f }, { 0.353553f, -0.250000f, 0.250000f, -0.250000f } } },
- { BottomBackRight, { { 0.353553f, -0.250000f, -0.250000f, -0.250000f }, { 0.353553f, -0.250000f, -0.250000f, -0.250000f } } },
+ { TopFrontLeft, { { 0.176777f, 0.125000f, 0.125000f, 0.125000f }, { 0.176777f, 0.125000f, 0.125000f, 0.125000f } } },
+ { TopFrontRight, { { 0.176777f, 0.125000f, -0.125000f, 0.125000f }, { 0.176777f, 0.125000f, -0.125000f, 0.125000f } } },
+ { TopBackLeft, { { 0.176777f, -0.125000f, 0.125000f, 0.125000f }, { 0.176777f, -0.125000f, 0.125000f, 0.125000f } } },
+ { TopBackRight, { { 0.176777f, -0.125000f, -0.125000f, 0.125000f }, { 0.176777f, -0.125000f, -0.125000f, 0.125000f } } },
+ { BottomFrontLeft, { { 0.176777f, 0.125000f, 0.125000f, -0.125000f }, { 0.176777f, 0.125000f, 0.125000f, -0.125000f } } },
+ { BottomFrontRight, { { 0.176777f, 0.125000f, -0.125000f, -0.125000f }, { 0.176777f, 0.125000f, -0.125000f, -0.125000f } } },
+ { BottomBackLeft, { { 0.176777f, -0.125000f, 0.125000f, -0.125000f }, { 0.176777f, -0.125000f, 0.125000f, -0.125000f } } },
+ { BottomBackRight, { { 0.176777f, -0.125000f, -0.125000f, -0.125000f }, { 0.176777f, -0.125000f, -0.125000f, -0.125000f } } },
};
const ChannelMap *chanmap = NULL;
size_t count = 0;