aboutsummaryrefslogtreecommitdiffstats
path: root/alc/inprogext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-02 11:39:30 -0800
committerChris Robinson <[email protected]>2019-12-02 11:51:27 -0800
commit799c60f3bbf041c5eafeb6b3acb7fc5d3f395718 (patch)
tree205e8772dcf9e90ae482f1702c0b5ab3c570e68e /alc/inprogext.h
parent58e4d643d3daa1d181901f6618ba96919f199f55 (diff)
Add an interface to set a B-Format buffer's layout and scaling
Diffstat (limited to 'alc/inprogext.h')
-rw-r--r--alc/inprogext.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/alc/inprogext.h b/alc/inprogext.h
index ad3ea288..d1890e70 100644
--- a/alc/inprogext.h
+++ b/alc/inprogext.h
@@ -77,6 +77,21 @@ AL_API void AL_APIENTRY alGetPointervSOFT(ALenum pname, void **values);
#define AL_EFFECTSLOT_TARGET_SOFT 0xf000
#endif
+#ifndef AL_SOFT_bformat_ex
+#define AL_SOFT_bformat_ex
+#define AL_AMBISONIC_LAYOUT_SOFT 0x1997
+#define AL_AMBISONIC_SCALING_SOFT 0x1998
+
+/* Ambisonic layouts */
+#define AL_FUMA_SOFT 0x0000
+#define AL_ACN_SOFT 0x0001
+
+/* Ambisonic scalings (normalization) */
+/*#define AL_FUMA_SOFT*/
+#define AL_SN3D_SOFT 0x0001
+#define AL_N3D_SOFT 0x0002
+#endif
+
#ifdef __cplusplus
} /* extern "C" */
#endif