aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-13 13:47:35 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commit7dafac0c34cb1cd07a783d1acdcd28fe43ef808a (patch)
treee517c8c7695a6c767361e62588e725aab592b354 /Alc/bformatdec.h
parentc24aea712bff745022173bf7cf9b5e177af0237e (diff)
Avoid duplicating some scale tables
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h
index 0011eb28..a6ca2209 100644
--- a/Alc/bformatdec.h
+++ b/Alc/bformatdec.h
@@ -21,6 +21,14 @@
#define XYZ_SCALE_3H3P 1.136697713f
+/* NOTE: These are scale factors as applied to Ambisonics content. Decoder
+ * coefficients should be divided by these values to get proper N3D scalings.
+ */
+const ALfloat N3D2N3DScale[MAX_AMBI_COEFFS];
+const ALfloat SN3D2N3DScale[MAX_AMBI_COEFFS];
+const ALfloat FuMa2N3DScale[MAX_AMBI_COEFFS];
+
+
struct AmbDecConf;
struct BFormatDec;
struct AmbiUpsampler;