On Wed, May 17, 2023 at 03:11:17AM -0400, Brad Smith wrote: > Here is an update to OpenAL 1.23.1.
This looks straightforward enough to me. It builds and I can play audio with consumer 0ad after: # ln -s libopenal.so.5.0 /usr/local/lib/libopenal.so.4.2 show-reverse-deps gets me 414 consumers. I haven't tested more, but it looks good enough for me - ok thfr@. > > > openal-soft-1.23.1: > > Implemented the AL_SOFT_UHJ_ex extension. > > Implemented the AL_SOFT_buffer_length_query extension. > > Implemented the AL_SOFT_source_start_delay extension. > > Implemented the AL_EXT_STATIC_BUFFER extension. > > Fixed compiling with certain older versions of GCC. > > Fixed compiling as a submodule. > > Fixed compiling with newer versions of Oboe. > > Improved EAX effect version switching. > > Improved the quality of the reverb modulator. > > Improved performance of the cubic resampler. > > Added a compatibility option to restore AL_SOFT_buffer_sub_data. The > option > disables AL_EXT_SOURCE_RADIUS due to incompatibility. > > Reduced CPU usage when EAX is initialized and FXSlot0 or FXSlot1 are not > used. > > Reduced memory usage for ADPCM buffer formats. They're no longer converted > to 16-bit samples on load. > > openal-soft-1.23.0: > > Fixed CoreAudio capture support. > > Fixed handling per-version EAX properties. > > Fixed interpolating changes to the Super Stereo width source property. > > Fixed detection of the update and buffer size from PipeWire. > > Fixed resuming playback devices with OpenSL. > > Fixed support for certain OpenAL implementations with the router. > > Improved reverb environment transitions. > > Improved performance of convolution reverb. > > Improved quality and performance of the pitch shifter effect slightly. > > Improved sub-sample precision for resampled sources. > > Improved blending spatialized multi-channel sources that use the source > radius property. > > Improved mixing 2D ambisonic sources for higher-order 3D ambisonic mixing. > > Improved quadraphonic and 7.1 surround sound output slightly. > > Added config options for UHJ encoding/decoding quality. Including Super > Stereo processing. > > Added a config option for specifying the speaker distance. > > Added a compatibility config option for specifying the NFC distance > scaling. > > Added a config option for mixing on PipeWire's non-real-time thread. > > Added support for virtual source nodes with PipeWire capture. > > Added the ability for the WASAPI backend to use different playback rates. > > Added support for SOFA files that define per-response delays in makemhr. > > Changed the default fallback playback sample rate to 48khz. This doesn't > affect most backends, which can detect a default rate from the system. > > Changed the default resampler to cubic. > > Changed the default HRTF size from 32 to 64 points. > > > Index: Makefile > =================================================================== > RCS file: /home/cvs/ports/audio/openal/Makefile,v > retrieving revision 1.63 > diff -u -p -u -p -r1.63 Makefile > --- Makefile 15 Nov 2022 17:41:37 -0000 1.63 > +++ Makefile 16 May 2023 08:08:00 -0000 > @@ -1,13 +1,12 @@ > COMMENT = cross-platform 3D audio API > > -V = 1.22.2 > +V = 1.23.1 > DISTNAME = openal-soft-$V > PKGNAME = openal-$V > -REVISION = 1 > EPOCH = 0 > CATEGORIES = audio > > -SHARED_LIBS = openal 4.2 > +SHARED_LIBS = openal 5.0 > > HOMEPAGE = https://openal-soft.org/ > > @@ -46,7 +45,7 @@ CONFIGURE_ARGS +=-DALSOFT_CPUEXT_NEON=Of > > MODULES = devel/cmake > > -COMPILER = base-clang ports-clang ports-gcc > +COMPILER = base-clang ports-gcc > > NO_TEST = Yes > > Index: distinfo > =================================================================== > RCS file: /home/cvs/ports/audio/openal/distinfo,v > retrieving revision 1.14 > diff -u -p -u -p -r1.14 distinfo > --- distinfo 4 Oct 2022 14:51:00 -0000 1.14 > +++ distinfo 16 May 2023 08:04:08 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (openal-soft-1.22.2.tar.bz2) = > rpTMlc2na3zG6S44wlMa+CFI5209iM6Zbikooep8PSA= > -SIZE (openal-soft-1.22.2.tar.bz2) = 606151 > +SHA256 (openal-soft-1.23.1.tar.bz2) = > eW9LiRNMTlcnC38NdV8Po0NbkNpDe3RRYKSb1ByEWyE= > +SIZE (openal-soft-1.23.1.tar.bz2) = 699330 > Index: patches/patch-CMakeLists_txt > =================================================================== > RCS file: /home/cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v > retrieving revision 1.12 > diff -u -p -u -p -r1.12 patch-CMakeLists_txt > --- patches/patch-CMakeLists_txt 4 Oct 2022 14:51:00 -0000 1.12 > +++ patches/patch-CMakeLists_txt 16 May 2023 08:04:44 -0000 > @@ -1,7 +1,7 @@ > Index: CMakeLists.txt > --- CMakeLists.txt.orig > +++ CMakeLists.txt > -@@ -1508,7 +1508,7 @@ endif() > +@@ -1542,7 +1542,7 @@ endif() > > if(ALSOFT_INSTALL_CONFIG) > install(FILES alsoftrc.sample > Index: patches/patch-common_threads_cpp > =================================================================== > RCS file: patches/patch-common_threads_cpp > diff -N patches/patch-common_threads_cpp > --- patches/patch-common_threads_cpp 4 Oct 2022 14:51:00 -0000 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,34 +0,0 @@ > -Recognize void(pthread_t,const char*) > -e6fe5bc33485211b03242a193eb9a981916efee1 > - > -Index: common/threads.cpp > ---- common/threads.cpp.orig > -+++ common/threads.cpp > -@@ -100,7 +100,8 @@ namespace { > - > - using setname_t1 = int(*)(const char*); > - using setname_t2 = int(*)(pthread_t, const char*); > --using setname_t3 = int(*)(pthread_t, const char*, void*); > -+using setname_t3 = void(*)(pthread_t, const char*); > -+using setname_t4 = int(*)(pthread_t, const char*, void*); > - > - void setname_caller(setname_t1 func, const char *name) > - { func(name); } > -@@ -109,6 +110,9 @@ void setname_caller(setname_t2 func, const char *name) > - { func(pthread_self(), name); } > - > - void setname_caller(setname_t3 func, const char *name) > -+{ func(pthread_self(), name); } > -+ > -+void setname_caller(setname_t4 func, const char *name) > - { func(pthread_self(), "%s", static_cast<void*>(const_cast<char*>(name))); } > - > - } // namespace > -@@ -125,6 +129,7 @@ void althrd_setname(const char *name) > - std::ignore = static_cast<void(*)(setname_t1,const > char*)>(&setname_caller); > - std::ignore = static_cast<void(*)(setname_t2,const > char*)>(&setname_caller); > - std::ignore = static_cast<void(*)(setname_t3,const > char*)>(&setname_caller); > -+ std::ignore = static_cast<void(*)(setname_t4,const > char*)>(&setname_caller); > - } > - > - #ifdef __APPLE__ > Index: pkg/PLIST > =================================================================== > RCS file: /home/cvs/ports/audio/openal/pkg/PLIST,v > retrieving revision 1.14 > diff -u -p -u -p -r1.14 PLIST > --- pkg/PLIST 4 Oct 2022 14:51:00 -0000 1.14 > +++ pkg/PLIST 16 May 2023 08:10:26 -0000 > @@ -23,6 +23,7 @@ share/openal/hrtf/ > share/openal/hrtf/Default HRTF.mhr > share/openal/presets/ > share/openal/presets/3D7.1.ambdec > +share/openal/presets/hex-quad.ambdec > share/openal/presets/hexagon.ambdec > share/openal/presets/itu5.1-nocenter.ambdec > share/openal/presets/itu5.1.ambdec >