From 92a95cc330ee3796ee5215183c60d42b6c5b147e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deal=28=E6=B6=93=E2=82=AC=E7=BB=BE=E8=B7=A8=E4=BC=92=29?= Date: Wed, 31 May 2023 23:57:33 +0800 Subject: [PATCH] Revert "Update openal-soft to latest for UWP support" (#1223) * Revert "Update openal-soft to latest for UWP support" --- core/audio/AudioEngineImpl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/audio/AudioEngineImpl.cpp b/core/audio/AudioEngineImpl.cpp index b04a0b24c5..d79d27c76f 100644 --- a/core/audio/AudioEngineImpl.cpp +++ b/core/audio/AudioEngineImpl.cpp @@ -280,6 +280,9 @@ ALvoid AudioEngineImpl::myAlSourceNotificationCallback(ALuint sid, ALuint notifi #endif #if AX_USE_ALSOFT +#if !defined(AL_API_NOEXCEPT17) +#define AL_API_NOEXCEPT17 +#endif static void alcReopenDeviceOnAxmolThread() { Director::getInstance()->getOpenGLView()->queueOperation([](void*) {