head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.2 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.4.0.8 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.6 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.4 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.2 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.3.0.2 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.1.0.40 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.38 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.36 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.34 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.32 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.30 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.28 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.26 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.24 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.22 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.20 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.18 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.16 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.14 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.12 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.10 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.8 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.6 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @// @; 1.5 date 2025.12.22.15.17.58; author ryoon; state Exp; branches; next 1.4; commitid FgbwKJzJfyz3WpnG; 1.4 date 2025.01.30.11.08.40; author adam; state Exp; branches; next 1.3; commitid OJWHIAcIFSv82vHF; 1.3 date 2024.11.29.03.47.45; author ryoon; state Exp; branches; next 1.2; commitid Je0PMDvm3uRuAuzF; 1.2 date 2024.11.20.09.33.00; author adam; state Exp; branches; next 1.1; commitid jsO9YSDTEtMNMmyF; 1.1 date 2019.11.30.13.40.29; author nia; state Exp; branches; next ; commitid 5y7iTKcL6ypGySMB; desc @@ 1.5 log @audio/openal-soft: Update to 1.25.0 Changelog: openal-soft-1.25.0: Updated library codebase to C++20. Fixed alcIsExtensionPresent to do a case-insensitive compare. Fixed potential noise when switching reverbs. Fixed reverb panning with certain output modes. Fixed retrieving the alGetProcAddressDirect extension function. Fixed negative source offsets with a callback buffer. Fixed a memory issue that could occur in rare situations with looping sources. Fixed compiling for and running on older macOS versions. Fixed using unicode in environment variable values on Windows. Fixed memory alignment issues with 32-bit MinGW builds. Fixed a crash in sofa-info with SOFA files that have null strings. Updated alsoft-config to Qt6. Added build options for STL hardening. Performant checks meant for production are enabled by default. Added support for fourth-order ambisonics. Added support for CAF files to the Wave Writer backend. Added optional support for C++20 modules. These are intended to be copied into projects wishing to use them, since modules depend on being built with compatible compile flags as the sources they're imported into. Added a .note.dlopen section to ELF shared library builds to record dynamic dependencies for build maintainers. Converted the headers to XML files, which are used to generate the headers (and modules) with a script. Other scripts can be made to generate bindings for various other languages. Changed AL_PANNING_ENABLED_SOFT to allow being toggled on playing sources. Changed the default period size to 512 sample frames. Changed the default Super Stereo width to 0.46. @ text @$NetBSD: patch-alc_alconfig.cpp,v 1.4 2025/01/30 11:08:40 adam Exp $ Allow the Makefile to specify the default config file path. --- alc/alconfig.cpp.orig 2025-12-22 09:17:45.000000000 +0000 +++ alc/alconfig.cpp @@@@ -426,7 +426,7 @@@@ void ReadALConfig() void ReadALConfig() { - auto path = fs::path{"/etc/openal/alsoft.conf"}; + auto path = fs::path{SYS_CONF_DIR "/alsoft.conf"}; TRACE("Loading config {}...", al::u8_as_char(path.u8string())); if(auto f = fs::ifstream{path}; f.is_open()) @ 1.4 log @openal-soft: updated to 1.24.2 openal-soft-1.24.2: Implemented the AL_SOFT_bformat_hoa extension. Implemented default device change events for the PulseAudio backend. Implemented an option for WASAPI exclusive mode playback. Fixed reverb being too quiet for sounds from different directions. Fixed compiling with certain versions of Clang. Fixed compiling for some older macOS versions. Fixed building alffplay on systems without pkg-config. Improved output format detection for CoreAudio. Changed the default resampler back to Cubic Spline. Added an SDL3 playback backend. Disabled by default to avoid a runtime dependency and for compatibility; a single process can't safely use SDL2 and SDL3 together on some OSs, so enable with care. Converted examples from SDL2 to SDL3. Integrated fmtlib into the main library and router for logging and string formatting. @ text @d1 1 a1 1 $NetBSD: patch-alc_alconfig.cpp,v 1.3 2024/11/29 03:47:45 ryoon Exp $ d5 1 a5 1 --- alc/alconfig.cpp.orig 2025-01-11 07:17:23.000000000 +0000 d7 1 a7 1 @@@@ -381,7 +381,7 @@@@ void ReadALConfig() d11 2 a12 2 - fs::path path{"/etc/openal/alsoft.conf"}; + fs::path path{SYS_CONF_DIR "/alsoft.conf"}; d15 1 a15 1 if(fs::ifstream f{path}; f.is_open()) @ 1.3 log @audio/openal-soft: Update to 1.24.1 Changelog: 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. @ text @d1 1 a1 1 $NetBSD: patch-alc_alconfig.cpp,v 1.2 2024/11/20 09:33:00 adam Exp $ d5 1 a5 1 --- alc/alconfig.cpp.orig 2024-11-28 03:21:16.000000000 +0000 d7 2 a8 1 @@@@ -384,7 +384,7 @@@@ void ReadALConfig() a10 1 namespace fs = std::filesystem; d14 2 a15 2 TRACE("Loading config %s...\n", reinterpret_cast(path.u8string().c_str())); if(std::ifstream f{path}; f.is_open()) @ 1.2 log @openal-soft: updated to 1.24.0 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. @ text @d1 1 a1 1 $NetBSD: patch-alc_alconfig.cpp,v 1.1 2019/11/30 13:40:29 nia Exp $ d5 1 a5 1 --- alc/alconfig.cpp.orig 2024-11-16 12:20:51.000000000 +0000 d7 1 a7 1 @@@@ -383,7 +383,7 @@@@ void ReadALConfig() d14 1 a14 1 TRACE("Loading config %s...\n", path.u8string().c_str()); @ 1.1 log @openal-soft: Update to 1.20.0 pkgsrc changes: - Support more audio backends. openal-soft-1.20.0: Converted the library codebase to C++11. A lot of hacks and custom structures have been replaced with standard or cleaner implementations. Partially implemented the Vocal Morpher effect. Fixed the bsinc SSE resamplers on non-GCC compilers. Fixed OpenSL capture. Fixed support for extended capture formats with OpenSL. Fixed handling of WASAPI not reporting a default device. Fixed performance problems relating to semaphores on macOS. Modified the bsinc12 resampler's transition band to better avoid aliasing noise. Modified alcResetDeviceSOFT to attempt recovery of disconnected devices. Modified the virtual speaker layout for HRTF B-Format decoding. Modified the PulseAudio backend to use a custom processing loop. Renamed the makehrtf utility to makemhr. Improved the efficiency of the bsinc resamplers when up-sampling. Improved the quality of the bsinc resamplers slightly. Improved the efficiency of the HRTF filters. Improved the HRTF B-Format decoder coefficient generation. Improved reverb feedback fading to be more consistent with pan fading. Improved handling of sources that end prematurely, avoiding loud clicks. Improved the performance of some reverb processing loops. Added fast_bsinc12 and 24 resamplers that improve efficiency at the cost of some quality. Notably, down-sampling has less smooth pitch ramping. Added support for SOFA input files with makemhr. Added a build option to use pre-built native tools. For cross-compiling, use with caution and ensure the native tools' binaries are kept up-to-date. Added an adjust-latency config option for the PulseAudio backend. Added basic support for multi-field HRTFs. Added an option for mixing first- or second-order B-Format with HRTF output. This can improve HRTF performance given a number of sources. Added an RC file for proper DLL version information. Disabled some old KDE workarounds by default. Specifically, PulseAudio streams can now be moved (KDE may try to move them after opening). @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- alc/alconfig.cpp.orig 2019-11-28 08:45:08.000000000 +0000 d7 1 a7 2 @@@@ -325,7 +325,7 @@@@ void ReadALConfig() d10 3 a12 2 - const char *str{"/etc/openal/alsoft.conf"}; + const char *str{SYS_CONF_DIR "/alsoft.conf"}; d14 2 a15 2 TRACE("Loading config %s...\n", str); al::ifstream f{str}; @