aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-01 08:20:47 -0700
committerChris Robinson <[email protected]>2021-04-01 08:20:47 -0700
commita2c45f892884d0196079671826a19238517146fb (patch)
tree7912fda94b03b4e7fe9e539fd8cd462fd4627641
parentc6dbc487b38b9f46326bed35f80efa3d35218cd4 (diff)
Advertise the in-progress AL_SOFT_UHJ extension
-rw-r--r--alc/alc.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 95bd5af4..50828c35 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -824,6 +824,16 @@ constexpr struct {
DECL(AL_EFFECT_CONVOLUTION_REVERB_SOFT),
DECL(AL_EFFECTSLOT_STATE_SOFT),
+
+ DECL(AL_FORMAT_UHJ2CHN8_SOFT),
+ DECL(AL_FORMAT_UHJ2CHN16_SOFT),
+ DECL(AL_FORMAT_UHJ2CHN_FLOAT32_SOFT),
+ DECL(AL_FORMAT_UHJ3CHN8_SOFT),
+ DECL(AL_FORMAT_UHJ3CHN16_SOFT),
+ DECL(AL_FORMAT_UHJ3CHN_FLOAT32_SOFT),
+ DECL(AL_FORMAT_UHJ4CHN8_SOFT),
+ DECL(AL_FORMAT_UHJ4CHN16_SOFT),
+ DECL(AL_FORMAT_UHJ4CHN_FLOAT32_SOFT),
};
#undef DECL
@@ -885,7 +895,8 @@ constexpr ALchar alExtList[] =
"AL_SOFT_source_latency "
"AL_SOFT_source_length "
"AL_SOFT_source_resampler "
- "AL_SOFT_source_spatialize";
+ "AL_SOFT_source_spatialize "
+ "AL_SOFTX_UHJ";
std::atomic<ALCenum> LastNullDeviceError{ALC_NO_ERROR};