aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-09-20 04:11:52 -0700
committerChris Robinson <[email protected]>2020-09-20 04:11:52 -0700
commit191150d9a8e5dea9350030c8d4cade37fcad1695 (patch)
tree3d5cb8b6c70c9bdd688d805f7b0d8e5f41d09c27 /alc
parent8ef242bce084fae0689f2148442d10b5d029a512 (diff)
Remove deprecated, performance, and error event types
These would be better served with a proper debug API, rather than a general audio event API.
Diffstat (limited to 'alc')
-rw-r--r--alc/alc.cpp4
-rw-r--r--alc/inprogext.h5
2 files changed, 2 insertions, 7 deletions
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);