Skip to content

Commit

Permalink
deps: update openal to 1.24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Nov 28, 2024
1 parent d5b240e commit 64e59f8
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
14 changes: 13 additions & 1 deletion deps/openal/include/AL/al.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@
#ifdef __cplusplus
extern "C" {

#ifdef _MSVC_LANG
#define AL_CPLUSPLUS _MSVC_LANG
#else
#define AL_CPLUSPLUS __cplusplus
#endif

#ifndef AL_DISABLE_NOEXCEPT
#if AL_CPLUSPLUS >= 201103L
#define AL_API_NOEXCEPT noexcept
#if __cplusplus >= 201703L
#else
#define AL_API_NOEXCEPT
#endif
#if AL_CPLUSPLUS >= 201703L
#define AL_API_NOEXCEPT17 noexcept
#else
#define AL_API_NOEXCEPT17
Expand All @@ -19,6 +29,8 @@ extern "C" {
#define AL_API_NOEXCEPT17
#endif

#undef AL_CPLUSPLUS

#else /* __cplusplus */

#define AL_API_NOEXCEPT
Expand Down
14 changes: 13 additions & 1 deletion deps/openal/include/AL/alc.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@
#ifdef __cplusplus
extern "C" {

#ifdef _MSVC_LANG
#define ALC_CPLUSPLUS _MSVC_LANG
#else
#define ALC_CPLUSPLUS __cplusplus
#endif

#ifndef AL_DISABLE_NOEXCEPT
#if ALC_CPLUSPLUS >= 201103L
#define ALC_API_NOEXCEPT noexcept
#if __cplusplus >= 201703L
#else
#define ALC_API_NOEXCEPT
#endif
#if ALC_CPLUSPLUS >= 201703L
#define ALC_API_NOEXCEPT17 noexcept
#else
#define ALC_API_NOEXCEPT17
Expand All @@ -19,6 +29,8 @@ extern "C" {
#define ALC_API_NOEXCEPT17
#endif

#undef ALC_CPLUSPLUS

#else /* __cplusplus */

#define ALC_API_NOEXCEPT
Expand Down
2 changes: 1 addition & 1 deletion deps/openal/lib/cmake/OpenAL/OpenALConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set(OPENAL_FOUND ON)
set(OPENAL_INCLUDE_DIR $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_INCLUDE_DIRECTORIES>)
set(OPENAL_LIBRARY $<LINK_ONLY:OpenAL::OpenAL>)
set(OPENAL_DEFINITIONS $<TARGET_PROPERTY:OpenAL::OpenAL,INTERFACE_COMPILE_DEFINITIONS>)
set(OPENAL_VERSION_STRING 1.24.0)
set(OPENAL_VERSION_STRING 1.24.1)
Binary file modified deps/openal/lib/libopenal.a
Binary file not shown.
2 changes: 1 addition & 1 deletion deps/openal/lib/pkgconfig/openal.pc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ includedir=${prefix}/include
Name: OpenAL
Description: OpenAL is a cross-platform 3D audio API
Requires:
Version: 1.24.0
Version: 1.24.1
Libs: -L${libdir} -lopenal
Libs.private: -pthread -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit,-framework,ApplicationServices -Wl,-framework,CoreAudio -ldl -lm
Cflags: -I${includedir} -I${includedir}/AL -DAL_LIBTYPE_STATIC

0 comments on commit 64e59f8

Please sign in to comment.