aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-24 19:25:15 -0800
committerChris Robinson <[email protected]>2018-01-24 19:25:15 -0800
commitf5236ab1865eb9456c95743cd6e5d9464bdb44ba (patch)
treece6aaf0f5e208d33a9e3641f2c7a0af7f2bf391a /OpenAL32
parent2a7f5aa569d181a47c28c98e67dcadf275835b15 (diff)
Use more appropriate enum values for events
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 4661b713..18dc32dd 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -68,13 +68,13 @@ AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, A
#ifndef AL_SOFT_events
#define AL_SOFT_events 1
-#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0xffe0
-#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0xffe1
-#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0xffe2
-#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0xffe3
-#define AL_EVENT_TYPE_ERROR_SOFT 0xffe4
-#define AL_EVENT_TYPE_PERFORMANCE_SOFT 0xffe5
-#define AL_EVENT_TYPE_DEPRECATED_SOFT 0xffe6
+#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0x1220
+#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0x1221
+#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0x1222
+#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0x1223
+#define AL_EVENT_TYPE_ERROR_SOFT 0x1224
+#define AL_EVENT_TYPE_PERFORMANCE_SOFT 0x1225
+#define AL_EVENT_TYPE_DEPRECATED_SOFT 0x1226
typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param,
ALsizei length, const ALchar *message,
void *userParam);