From d7e22a8ada669910882ae34e0b57da6712629e72 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 30 Apr 2023 03:13:37 -0700 Subject: Implement non-ID based debug message filtering --- alc/alc.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'alc/alc.cpp') diff --git a/alc/alc.cpp b/alc/alc.cpp index 33531afb..b6dc111d 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -461,6 +461,8 @@ const struct { DECL(alBufferDataStatic), DECL(alDebugMessageCallbackSOFT), + DECL(alDebugMessageInsertSOFT), + DECL(alDebugMessageControlSOFT), #ifdef ALSOFT_EAX }, eaxFunctions[] = { DECL(EAXGet), @@ -917,7 +919,26 @@ constexpr struct { DECL(AL_FORMAT_UHJ4CHN_MULAW_SOFT), DECL(AL_FORMAT_UHJ4CHN_ALAW_SOFT), + DECL(AL_DONT_CARE_SOFT), DECL(AL_DEBUG_OUTPUT_SOFT), + DECL(AL_DEBUG_CALLBACK_FUNCTION_SOFT), + DECL(AL_DEBUG_CALLBACK_USER_PARAM_SOFT), + DECL(AL_DEBUG_SOURCE_API_SOFT), + DECL(AL_DEBUG_SOURCE_AUDIO_SYSTEM_SOFT), + DECL(AL_DEBUG_SOURCE_THIRD_PARTY_SOFT), + DECL(AL_DEBUG_SOURCE_APPLICATION_SOFT), + DECL(AL_DEBUG_SOURCE_OTHER_SOFT), + DECL(AL_DEBUG_TYPE_ERROR_SOFT), + DECL(AL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_SOFT), + DECL(AL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_SOFT), + DECL(AL_DEBUG_TYPE_PORTABILITY_SOFT), + DECL(AL_DEBUG_TYPE_PERFORMANCE_SOFT), + DECL(AL_DEBUG_TYPE_MARKER_SOFT), + DECL(AL_DEBUG_TYPE_OTHER_SOFT), + DECL(AL_DEBUG_SEVERITY_HIGH_SOFT), + DECL(AL_DEBUG_SEVERITY_MEDIUM_SOFT), + DECL(AL_DEBUG_SEVERITY_LOW_SOFT), + DECL(AL_DEBUG_SEVERITY_NOTIFICATION_SOFT), DECL(AL_STOP_SOURCES_ON_DISCONNECT_SOFT), -- cgit v1.2.3