summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-13 08:08:22 +0000
committerwiz <wiz@pkgsrc.org>2017-09-13 08:08:22 +0000
commit584759cc4e60d412b947c54fac1cef9b8967237c (patch)
treec7f522b1615972849952a91bbf7c1836d403d8df /audio
parent72e50b688ef5bf4fa674064bf92b6d4dbefec1be (diff)
downloadpkgsrc-584759cc4e60d412b947c54fac1cef9b8967237c.tar.gz
openal-soft: update to 1.18.1.
openal-soft-1.18.1: Fixed an issue where resuming a source might not restart playing it. Fixed PulseAudio playback when the configured stream length is much less than the requested length. Fixed MMDevAPI capture with sample rates not matching the backing device. Fixed int32 output for the Wave Writer. Fixed enumeration of OSS devices that are missing device files. Added correct retrieval of the executable's path on FreeBSD. Added a config option to specify the dithering depth. Added a 5.1 decoder preset that excludes front-center output. openal-soft-1.18.0: Implemented the AL_EXT_STEREO_ANGLES and AL_EXT_SOURCE_RADIUS extensions. Implemented the AL_SOFT_gain_clamp_ex, AL_SOFT_source_resampler, AL_SOFT_source_spatialize, and ALC_SOFT_output_limiter extensions. Implemented 3D processing for some effects. Currently implemented for Reverb, Compressor, Equalizer, and Ring Modulator. Implemented 2-channel UHJ output encoding. This needs to be enabled with a config option to be used. Implemented dual-band processing for high-quality ambisonic decoding. Implemented distance-compensation for surround sound output. Implemented near-field emulation and compensation with ambisonic rendering. Currently only applies when using the high-quality ambisonic decoder or ambisonic output, with appropriate config options. Implemented an output limiter to reduce the amount of distortion from clipping. Implemented dithering for 8-bit and 16-bit output. Implemented a config option to select a preferred HRTF. Implemented a run-time check for NEON extensions using /proc/cpuinfo. Implemented experimental capture support for the OpenSL backend. Fixed building on compilers with NEON support but don't default to having NEON enabled. Fixed support for JACK on Windows. Fixed starting a source while alcSuspendContext is in effect. Fixed detection of headsets as headphones, with MMDevAPI. Added support for AmbDec config files, for custom ambisonic decoder configurations. Version 3 files only. Added backend-specific options to alsoft-config. Added first-, second-, and third-order ambisonic output formats. Currently only works with backends that don't rely on channel labels, like JACK, ALSA, and OSS. Added a build option to embed the default HRTFs into the lib. Added AmbDec presets to enable high-quality ambisonic decoding. Added an AmbDec preset for 3D7.1 speaker setups. Added documentation regarding Ambisonics, 3D7.1, AmbDec config files, and the provided ambdec presets. Added the ability for MMDevAPI to open devices given a Device ID or GUID string. Added an option to the example apps to open a specific device. Increased the maximum auxiliary send limit to 16 (up from 4). Requires requesting them with the ALC_MAX_AUXILIARY_SENDS context creation attribute. Increased the default auxiliary effect slot count to 64 (up from 4). Reduced the default period count to 3 (down from 4). Slightly improved automatic naming for enumerated HRTFs. Improved B-Format decoding with HRTF output. Improved internal property handling for better batching behavior. Improved performance of certain filter uses. Removed support for the AL_SOFT_buffer_samples and AL_SOFT_buffer_sub_data extensions. Due to conflicts with AL_EXT_SOURCE_RADIUS.
Diffstat (limited to 'audio')
-rw-r--r--audio/openal-soft/Makefile5
-rw-r--r--audio/openal-soft/PLIST10
-rw-r--r--audio/openal-soft/distinfo15
-rw-r--r--audio/openal-soft/patches/patch-CMakeLists.txt16
-rw-r--r--audio/openal-soft/patches/patch-alc_alcconfig.c10
-rw-r--r--audio/openal-soft/patches/patch-common_threads.c10
6 files changed, 45 insertions, 21 deletions
diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile
index d1586bc11d0..935db9c2b54 100644
--- a/audio/openal-soft/Makefile
+++ b/audio/openal-soft/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2017/08/06 20:58:39 markd Exp $
-#
+# $NetBSD: Makefile,v 1.5 2017/09/13 08:08:22 wiz Exp $
-DISTNAME= openal-soft-1.17.2
+DISTNAME= openal-soft-1.18.1
CATEGORIES= audio
MASTER_SITES= http://kcat.strangesoft.net/openal-releases/
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/openal-soft/PLIST b/audio/openal-soft/PLIST
index 2a18d93ecff..aef068ce622 100644
--- a/audio/openal-soft/PLIST
+++ b/audio/openal-soft/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/02/08 01:53:48 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/09/13 08:08:22 wiz Exp $
bin/altonegen
bin/bsincgen
bin/makehrtf
@@ -9,6 +9,8 @@ include/AL/alext.h
include/AL/efx-creative.h
include/AL/efx-presets.h
include/AL/efx.h
+lib/cmake/OpenAL/OpenALConfig-relwithdebinfo.cmake
+lib/cmake/OpenAL/OpenALConfig.cmake
lib/libopenal.so
lib/libopenal.so.1
lib/libopenal.so.${PKGVERSION}
@@ -16,3 +18,9 @@ lib/pkgconfig/openal.pc
share/openal/alsoftrc.sample
share/openal/hrtf/default-44100.mhr
share/openal/hrtf/default-48000.mhr
+share/openal/presets/3D7.1.ambdec
+share/openal/presets/hexagon.ambdec
+share/openal/presets/itu5.1.ambdec
+share/openal/presets/presets.txt
+share/openal/presets/rectangle.ambdec
+share/openal/presets/square.ambdec
diff --git a/audio/openal-soft/distinfo b/audio/openal-soft/distinfo
index fb0ab8af513..b10a89467ff 100644
--- a/audio/openal-soft/distinfo
+++ b/audio/openal-soft/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.1 2016/02/08 01:53:48 markd Exp $
+$NetBSD: distinfo,v 1.2 2017/09/13 08:08:22 wiz Exp $
-SHA1 (openal-soft-1.17.2.tar.bz2) = 5d6151b544caaf53a15b798a495308e421044b0d
-RMD160 (openal-soft-1.17.2.tar.bz2) = 9b384c3bff9e65ec96f4ae7af2754b52871dabfc
-SHA512 (openal-soft-1.17.2.tar.bz2) = 50c20cd3ddada55d91643a79c2894d5a14315d5fc1ed8e870e3d8d3f410e8b7d8da29b838226e7fce37fbeca719ff919b51806f72e4cd529a18fbe8bd68860e3
-Size (openal-soft-1.17.2.tar.bz2) = 486934 bytes
-SHA1 (patch-alc_alcconfig.c) = a137776f204bb75bfa199b0802d985ebe030c10e
-SHA1 (patch-common_threads.c) = 87593018c95c146bc4f51e2e8caa0cf6f769d74b
+SHA1 (openal-soft-1.18.1.tar.bz2) = 1fe65b8342a596aa38ea643dc34cb7081444eef7
+RMD160 (openal-soft-1.18.1.tar.bz2) = f822be811120db3092225da544dc9ca7746bc47e
+SHA512 (openal-soft-1.18.1.tar.bz2) = 5ee86f21c499d79b139b78e3a8ddb6f79d293d7fb2076342396444a2a056eeb5bf39def18577280a41c9192ba5c6cfd3c67a68e97a6914a9c0ae81b4811c0c60
+Size (openal-soft-1.18.1.tar.bz2) = 638913 bytes
+SHA1 (patch-CMakeLists.txt) = 3bd95d57b8d7fb26c73debee69ac67a3b6d0a8cb
+SHA1 (patch-alc_alcconfig.c) = 6344ecd30cc00aff9208603c03744e4841fc8534
+SHA1 (patch-common_threads.c) = a4c7deb58bf344439efb5141c6f3ed25b944cb69
diff --git a/audio/openal-soft/patches/patch-CMakeLists.txt b/audio/openal-soft/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..4b83852b043
--- /dev/null
+++ b/audio/openal-soft/patches/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2017/09/13 08:08:22 wiz Exp $
+
+Allow setting EXTRA_LIBS from command line.
+
+--- CMakeLists.txt.orig 2017-07-30 05:09:21.000000000 +0000
++++ CMakeLists.txt
+@@ -85,9 +85,6 @@ IF(WIN32)
+ ENDIF()
+
+
+-SET(EXTRA_LIBS "")
+-SET(EXTRA_LDFLAGS "")
+-
+ # QNX's gcc do not uses /usr/include and /usr/lib pathes by default
+ IF ("${CMAKE_C_PLATFORM_ID}" STREQUAL "QNX")
+ ADD_DEFINITIONS("-I/usr/include")
diff --git a/audio/openal-soft/patches/patch-alc_alcconfig.c b/audio/openal-soft/patches/patch-alc_alcconfig.c
index e5b319ca2bf..0f947927910 100644
--- a/audio/openal-soft/patches/patch-alc_alcconfig.c
+++ b/audio/openal-soft/patches/patch-alc_alcconfig.c
@@ -1,11 +1,11 @@
-$NetBSD: patch-alc_alcconfig.c,v 1.1 2016/02/08 01:53:48 markd Exp $
+$NetBSD: patch-alc_alcconfig.c,v 1.2 2017/09/13 08:08:22 wiz Exp $
Allow the Makefile to specify the default config file path.
---- Alc/alcConfig.c.orig 2016-01-29 11:04:27.000000000 +0100
-+++ Alc/alcConfig.c 2016-01-29 11:04:41.000000000 +0100
-@@ -353,7 +353,7 @@
- const char *str;
+--- Alc/alcConfig.c.orig 2017-07-30 05:09:21.000000000 +0000
++++ Alc/alcConfig.c
+@@ -424,7 +424,7 @@ void ReadALConfig(void)
+ al_string ppath;
FILE *f;
- str = "/etc/openal/alsoft.conf";
diff --git a/audio/openal-soft/patches/patch-common_threads.c b/audio/openal-soft/patches/patch-common_threads.c
index ffdcb7a85cb..a2db8aad7de 100644
--- a/audio/openal-soft/patches/patch-common_threads.c
+++ b/audio/openal-soft/patches/patch-common_threads.c
@@ -1,15 +1,15 @@
-$NetBSD: patch-common_threads.c,v 1.1 2016/02/08 01:53:48 markd Exp $
+$NetBSD: patch-common_threads.c,v 1.2 2017/09/13 08:08:22 wiz Exp $
Adjust usage of pthread_setname_np(3).
---- common/threads.c.orig 2016-01-25 04:12:39.000000000 +0100
-+++ common/threads.c 2016-01-29 18:13:41.000000000 +0100
-@@ -501,8 +501,12 @@
+--- common/threads.c.orig 2017-07-30 05:09:21.000000000 +0000
++++ common/threads.c
+@@ -501,8 +501,12 @@ void althrd_setname(althrd_t thr, const
if(althrd_equal(thr, althrd_current()))
pthread_setname_np(name);
#else
+#if defined(__NetBSD__)
-+ pthread_setname_np(thr, "%s", name);
++ pthread_setname_np(thr, "%s", (void *)name);
+#else
pthread_setname_np(thr, name);
#endif