aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-09 18:43:34 -0800
committerChris Robinson <[email protected]>2018-02-09 18:43:34 -0800
commitc346baff5b5e86e7e7982b5e644ecf756a040170 (patch)
tree13b738f339110d76b614592d1885c3c76db8f3c5 /Alc/bformatdec.h
parent20bee69955380d9ff65838c2cb005637c5c348ae (diff)
Clarify some macro names using ambisonic mixed-mode notation
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h
index b017cfd3..c897ac3a 100644
--- a/Alc/bformatdec.h
+++ b/Alc/bformatdec.h
@@ -7,18 +7,18 @@
/* These are the necessary scales for first-order HF responses to play over
* higher-order 2D (non-periphonic) decoders.
*/
-#define W_SCALE2D_SECOND 1.224744871f /* sqrt(1.5) */
-#define XYZ_SCALE2D_SECOND 1.0f
-#define W_SCALE2D_THIRD 1.414213562f /* sqrt(2) */
-#define XYZ_SCALE2D_THIRD 1.082392196f
+#define W_SCALE_2H0P 1.224744871f /* sqrt(1.5) */
+#define XYZ_SCALE_2H0P 1.0f
+#define W_SCALE_3H0P 1.414213562f /* sqrt(2) */
+#define XYZ_SCALE_3H0P 1.082392196f
/* These are the necessary scales for first-order HF responses to play over
* higher-order 3D (periphonic) decoders.
*/
-#define W_SCALE3D_SECOND 1.341640787f /* sqrt(1.8) */
-#define XYZ_SCALE3D_SECOND 1.0f
-#define W_SCALE3D_THIRD 1.695486018f
-#define XYZ_SCALE3D_THIRD 1.136697713f
+#define W_SCALE_2H2P 1.341640787f /* sqrt(1.8) */
+#define XYZ_SCALE_2H2P 1.0f
+#define W_SCALE_3H3P 1.695486018f
+#define XYZ_SCALE_3H3P 1.136697713f
struct AmbDecConf;