Revert "Update openal-soft to latest for UWP support" (#1223)

* Revert "Update openal-soft to latest for UWP support"
This commit is contained in:
Deal(涓€绾跨伒) 2023-05-31 23:57:33 +08:00 committed by GitHub
parent bfcd3001c6
commit 92a95cc330
1 changed files with 3 additions and 0 deletions

View File

@ -280,6 +280,9 @@ ALvoid AudioEngineImpl::myAlSourceNotificationCallback(ALuint sid, ALuint notifi
#endif #endif
#if AX_USE_ALSOFT #if AX_USE_ALSOFT
#if !defined(AL_API_NOEXCEPT17)
#define AL_API_NOEXCEPT17
#endif
static void alcReopenDeviceOnAxmolThread() static void alcReopenDeviceOnAxmolThread()
{ {
Director::getInstance()->getOpenGLView()->queueOperation([](void*) { Director::getInstance()->getOpenGLView()->queueOperation([](void*) {