aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-09-27 11:58:36 -0700
committerChris Robinson <[email protected]>2017-09-27 11:58:36 -0700
commit296abf03deb091c3371b1ca3370d6aed13356352 (patch)
treec5e08edb2cce5679a58701ebdcd540ec6e31b146 /OpenAL32/Include/alMain.h
parent1ab890262168444c2f6e1a9d84c3d65e5afe37f5 (diff)
Avoid a separate function to query ambisonic mode support
Now FuMa and ACN channel orders are required, as are FuMa, SN3D, and N3D normalization schemes. An integer query (alcGetIntegerv) is added for the maximum ambisonic order.
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 776fb37b..a4ca829f 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -32,25 +32,21 @@
#ifndef ALC_SOFT_loopback2
#define ALC_SOFT_loopback2 1
-#define ALC_AMBISONIC_LAYOUT_SOFT 0x1997
-#define ALC_AMBISONIC_SCALING_SOFT 0x1998
-#define ALC_AMBISONIC_ORDER_SOFT 0x1999
+#define ALC_AMBISONIC_LAYOUT_SOFT 0xfff0
+#define ALC_AMBISONIC_SCALING_SOFT 0xfff1
+#define ALC_AMBISONIC_ORDER_SOFT 0xfff2
+#define ALC_MAX_AMBISONIC_ORDER_SOFT 0xfff3
#define ALC_BFORMAT3D_SOFT 0x1508
/* Ambisonic layouts */
-#define ALC_ACN_SOFT 0x1600
-#define ALC_FUMA_SOFT 0x1601
+#define ALC_ACN_SOFT 0xfff4
+#define ALC_FUMA_SOFT 0xfff5
/* Ambisonic scalings (normalization) */
/*#define ALC_FUMA_SOFT*/
-#define ALC_SN3D_SOFT 0x1602
-#define ALC_N3D_SOFT 0x1603
-
-typedef ALCboolean (ALC_APIENTRY*LPALCISAMBISONICFORMATSUPPORTEDSOFT)(ALCdevice *device, ALCenum layout, ALCenum scaling, ALsizei order);
-#ifdef AL_ALEXT_PROTOTYPES
-ALC_API ALCboolean ALC_APIENTRY alcIsAmbisonicFormatSupportedSOFT(ALCdevice *device, ALCenum layout, ALCenum scaling, ALsizei order);
-#endif
+#define ALC_SN3D_SOFT 0xfff6
+#define ALC_N3D_SOFT 0xfff7
#endif
#ifndef ALC_SOFT_device_clock