aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-28 18:21:09 -0700
committerChris Robinson <[email protected]>2016-08-28 18:21:09 -0700
commit5bf0c6425868c2cd581786cfb0b74b96d4c07992 (patch)
tree54e59b41b3ac68d4ff14840a18732b108c6bbf3d /OpenAL32/Include/alMain.h
parent3d59021702c2f6ea4dbdf5d2f6231fd945370e27 (diff)
Add a query for the maximum source gain limit
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 74f967ae..c6b816d9 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -127,6 +127,11 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format);
#endif
#endif
+#ifndef AL_SOFT_gain_clamp_ex
+#define AL_SOFT_gain_clamp_ex 1
+#define AL_GAIN_LIMIT_SOFT 0x200E
+#endif
+
typedef ALint64SOFT ALint64;
typedef ALuint64SOFT ALuint64;