pkgsrc/audio/openal-soft/options.mk

29 lines
740 B
Makefile
Raw Normal View History

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).
2019-11-30 14:40:29 +01:00
# $NetBSD: options.mk,v 1.1 2019/11/30 13:40:29 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openal-soft
PKG_SUPPORTED_OPTIONS= alsa jack pulseaudio
PKG_SUGGESTED_OPTIONS.Linux+= alsa
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CMAKE_ARGS+= -DALSOFT_BACKEND_ALSA=ON
. include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DALSOFT_BACKEND_ALSA=OFF
.endif
.if !empty(PKG_OPTIONS:Mjack)
CMAKE_ARGS+= -DALSOFT_BACKEND_JACK=ON
. include "../../audio/jack/buildlink3.mk"
.else
CMAKE_ARGS+= -DALSOFT_BACKEND_JACK=OFF
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
CMAKE_ARGS+= -DALSOFT_BACKEND_PULSEAUDIO=ON
. include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DALSOFT_BACKEND_PULSEAUDIO=OFF
.endif