diff options
author | Chris Robinson <[email protected]> | 2020-10-07 20:13:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-10-07 20:13:52 -0700 |
commit | 0dc9ae0998991eae57ea917a8585464d32a8426d (patch) | |
tree | f31c5eee3cac311f8a20caa7baa70314ad371725 | |
parent | af9c990277638832853c102d21fdb17686db6b01 (diff) |
Update event enum values
To keep them less spread out from other OpenAL Soft extensions.
-rw-r--r-- | alc/inprogext.h | 10 | ||||
-rw-r--r-- | examples/alffplay.cpp | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/alc/inprogext.h b/alc/inprogext.h index 60717ab1..0278634c 100644 --- a/alc/inprogext.h +++ b/alc/inprogext.h @@ -49,11 +49,11 @@ 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 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_DISCONNECTED_SOFT 0x1224 +#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0x19A2 +#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0x19A3 +#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0x19A4 +#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0x19A5 +#define AL_EVENT_TYPE_DISCONNECTED_SOFT 0x19A6 typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param, ALsizei length, const ALchar *message, void *userParam); diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 6d6a2471..8d4ab3c8 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -77,11 +77,11 @@ extern "C" { #ifdef ALLOW_EXPERIMENTAL_EXTS #ifndef AL_SOFT_events #define AL_SOFT_events 1 -#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_DISCONNECTED_SOFT 0x1224 +#define AL_EVENT_CALLBACK_FUNCTION_SOFT 0x19A2 +#define AL_EVENT_CALLBACK_USER_PARAM_SOFT 0x19A3 +#define AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT 0x19A4 +#define AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT 0x19A5 +#define AL_EVENT_TYPE_DISCONNECTED_SOFT 0x19A6 typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param, ALsizei length, const ALchar *message, void *userParam); |