aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-12-13 01:09:53 -0800
committerChris Robinson <[email protected]>2021-12-13 01:09:53 -0800
commitb489705b25bb3967e04f7099cb21797783ccf7c0 (patch)
tree5e9a22f250a8359fcca6ca5fcc3ec1427249c4ce /core
parent953745d38643b62dd10ba6d8c1e2e4c7fa20eb30 (diff)
Minor UHJ coefficient scaling precision improvement
Diffstat (limited to 'core')
-rw-r--r--core/ambidefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ambidefs.h b/core/ambidefs.h
index 3339c28f..82a1a4e5 100644
--- a/core/ambidefs.h
+++ b/core/ambidefs.h
@@ -101,9 +101,9 @@ struct AmbiScale {
{
static constexpr const std::array<float,MaxAmbiChannels> ret{{
1.000000000f, /* ACN 0 (W), sqrt(1) */
- 1.224744916f, /* ACN 1 (Y), sqrt(3/2) */
- 1.224744916f, /* ACN 2 (Z), sqrt(3/2) */
- 1.224744916f, /* ACN 3 (X), sqrt(3/2) */
+ 1.224744871f, /* ACN 1 (Y), sqrt(3/2) */
+ 1.224744871f, /* ACN 2 (Z), sqrt(3/2) */
+ 1.224744871f, /* ACN 3 (X), sqrt(3/2) */
/* Higher orders not relevant for UHJ. */
1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
}};