From 191150d9a8e5dea9350030c8d4cade37fcad1695 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 20 Sep 2020 04:11:52 -0700 Subject: Remove deprecated, performance, and error event types These would be better served with a proper debug API, rather than a general audio event API. --- alc/alc.cpp | 4 +--- alc/inprogext.h | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'alc') diff --git a/alc/alc.cpp b/alc/alc.cpp index c72bc320..a870a565 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -794,9 +794,7 @@ constexpr struct { DECL(AL_EVENT_CALLBACK_USER_PARAM_SOFT), DECL(AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT), DECL(AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT), - DECL(AL_EVENT_TYPE_ERROR_SOFT), - DECL(AL_EVENT_TYPE_PERFORMANCE_SOFT), - DECL(AL_EVENT_TYPE_DEPRECATED_SOFT), + DECL(AL_EVENT_TYPE_DISCONNECTED_SOFT), DECL(AL_DROP_UNMATCHED_SOFT), DECL(AL_REMIX_UNMATCHED_SOFT), diff --git a/alc/inprogext.h b/alc/inprogext.h index 0a7feef7..60717ab1 100644 --- a/alc/inprogext.h +++ b/alc/inprogext.h @@ -53,10 +53,7 @@ AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, A #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 -#define AL_EVENT_TYPE_DISCONNECTED_SOFT 0x1227 +#define AL_EVENT_TYPE_DISCONNECTED_SOFT 0x1224 typedef void (AL_APIENTRY*ALEVENTPROCSOFT)(ALenum eventType, ALuint object, ALuint param, ALsizei length, const ALchar *message, void *userParam); -- cgit v1.2.3