Here is an update to OpenAL 1.24.1.

openal-soft-1.24.1:

    Fixed compilation on PowerPC.

    Fixed compilation on some targets that lack lock-free 64-bit atomics.

    Fixed a crash when parsing certain option values.

    Fixed applying noexcept in the public headers with MSVC.

    Fixed building for UWP with vcpkg.

    Improved compatibility when compiling as C++20 or later.

    Integrated fmtlib for some examples and utilities.

openal-soft-1.24.0:

    Updated library codebase to C++17.

    Implemented the ALC_SOFT_system_events extension.

    Implemented the AL_EXT_debug extension.

    Implemented the AL_EXT_direct_context extension.

    Implemented speaker configuration and headphones detection on CoreAudio.

    Fixed a potential crash with some extension functions on 32-bit Windows.

    Fixed a crash that can occur when stopping playback with the Oboe backend.

    Fixed calculating the reverb room rolloff.

    Fixed EAX occlusion, obstruction, and exclusion low-pass filter strength.

    Fixed EAX distance factor calculations.

    Fixed querying AL_EFFECTSLOT_EFFECT on auxiliary effect slots.

    Fixed compilation on some macOS systems that lack libdispatch.

    Fixed compilation as a subproject with MinGW.

    Changed the context error state to be thread-local. This is technically out
    of spec, but necessary to avoid race conditions with multi-threaded use.

    Split the cubic resampler into 4-point spline and gaussian variants. The
    latter prioritizing the suppression of aliasing distortion and harmonics,
    the former not reducing high frequencies as much.

    Improved timing precision of starting delayed sources.

    Improved ring modulator quality.

    Improved performance of convolution reverb.

    Improved WASAPI device enumeration performance.

    Added UWP support.

    Added 'noexcept' to functions and function types when compiled as C++. As a
    C API, OpenAL can't be expected to throw C++ exceptions, nor can it handle
    them if they leave a callback.

    Added an experimental config option for using WASAPI spatial audio output.

    Added enumeration support to the PortAudio backend.

    Added compatibility options to override the AL_VENDOR, AL_VERSION, and
    AL_RENDERER strings.

    Added an example to play LAF files.

    Disabled real-time mixing by default for PipeWire playback.

    Disabled the SndIO backend by default on non-BSD targets.


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.65
diff -u -p -u -p -r1.65 Makefile
--- Makefile    5 Sep 2023 16:13:40 -0000       1.65
+++ Makefile    22 Dec 2024 16:55:48 -0000
@@ -1,6 +1,6 @@
 COMMENT =      cross-platform 3D audio API
 
-V =            1.23.1
+V =            1.24.1
 DISTNAME =     openal-soft-$V
 PKGNAME =      openal-$V
 EPOCH =                0
@@ -20,7 +20,7 @@ WANTLIB +=    c m mysofa pthread sndio z ${
 SITES =                ${HOMEPAGE}openal-releases/
 EXTRACT_SUFX = .tar.bz2
 
-LIB_DEPENDS += audio/libmysofa
+LIB_DEPENDS += audio/libmysofa>=1.3.3
 
 CONFIGURE_ARGS =-DALSOFT_BACKEND_PIPEWIRE=Off \
                -DALSOFT_BACKEND_WAVE=Off \
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/openal/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo    29 May 2023 17:44:28 -0000      1.15
+++ distinfo    22 Dec 2024 16:55:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (openal-soft-1.23.1.tar.bz2) = 
eW9LiRNMTlcnC38NdV8Po0NbkNpDe3RRYKSb1ByEWyE=
-SIZE (openal-soft-1.23.1.tar.bz2) = 699330
+SHA256 (openal-soft-1.24.1.tar.bz2) = 
C5iD0uNy1M5m03sUKrELYGqKDtPoc9HgcLHIeLaVQlo=
+SIZE (openal-soft-1.24.1.tar.bz2) = 991155
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt        29 May 2023 17:44:28 -0000      1.13
+++ patches/patch-CMakeLists_txt        22 Dec 2024 16:55:48 -0000
@@ -1,7 +1,7 @@
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -1542,7 +1542,7 @@ endif()
+@@ -1616,7 +1616,7 @@ endif()
  
  if(ALSOFT_INSTALL_CONFIG)
      install(FILES alsoftrc.sample
Index: patches/patch-alc_alconfig_cpp
===================================================================
RCS file: /cvs/ports/audio/openal/patches/patch-alc_alconfig_cpp,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-alc_alconfig_cpp
--- patches/patch-alc_alconfig_cpp      4 Oct 2022 14:51:00 -0000       1.4
+++ patches/patch-alc_alconfig_cpp      22 Dec 2024 16:55:48 -0000
@@ -1,12 +1,12 @@
 Index: alc/alconfig.cpp
 --- alc/alconfig.cpp.orig
 +++ alc/alconfig.cpp
-@@ -364,7 +364,7 @@ void ReadALConfig()
- 
+@@ -384,7 +384,7 @@ void ReadALConfig()
  void ReadALConfig()
  {
--    const char *str{"/etc/openal/alsoft.conf"};
-+    const char *str{"${SYSCONFDIR}/openal/alsoft.conf"};
+     namespace fs = std::filesystem;
+-    fs::path path{"/etc/openal/alsoft.conf"};
++    fs::path path{"${SYSCONFDIR}/openal/alsoft.conf"};
  
-     TRACE("Loading config %s...\n", str);
-     al::ifstream f{str};
+     TRACE("Loading config %s...\n", reinterpret_cast<const 
char*>(path.u8string().c_str()));
+     if(std::ifstream f{path}; f.is_open())
Index: patches/patch-common_althreads_h
===================================================================
RCS file: patches/patch-common_althreads_h
diff -N patches/patch-common_althreads_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-common_althreads_h    22 Dec 2024 16:55:48 -0000
@@ -0,0 +1,24 @@
+- Don't assume only Apple can't use C11 threads
+  563a1c2e75622a05afdaf0fc139c70c25f86b7a5
+
+Index: common/althreads.h
+--- common/althreads.h.orig
++++ common/althreads.h
+@@ -9,7 +9,7 @@
+ #define WIN32_LEAN_AND_MEAN
+ #include <windows.h>
+ 
+-#elif defined(__APPLE__)
++#elif defined(__STDC_NO_THREADS__) || !__has_include(<threads.h>)
+ 
+ #include <pthread.h>
+ 
+@@ -79,7 +79,7 @@ class tss { (public)
+     [[nodiscard]]
+     auto get() const noexcept -> T { return from_ptr(TlsGetValue(mTss)); }
+ 
+-#elif defined(__APPLE__)
++#elif defined(__STDC_NO_THREADS__) || !__has_include(<threads.h>)
+ 
+     pthread_key_t mTss{};
+ 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/openal/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 PLIST
--- pkg/PLIST   29 May 2023 17:44:28 -0000      1.15
+++ pkg/PLIST   22 Dec 2024 16:55:48 -0000
@@ -7,7 +7,6 @@ include/AL/alext.h
 include/AL/efx-creative.h
 include/AL/efx-presets.h
 include/AL/efx.h
-lib/cmake/
 lib/cmake/OpenAL/
 lib/cmake/OpenAL/OpenALConfig.cmake
 lib/cmake/OpenAL/OpenALTargets-openbsd.cmake

Reply via email to