Wed Sep 13 08:08:23 2017 UTC ()
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.


(wiz)
diff -r1.4 -r1.5 pkgsrc/audio/openal-soft/Makefile
diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/PLIST
diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/distinfo
diff -r0 -r1.1 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c
diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/patch-common_threads.c

cvs diff -r1.4 -r1.5 pkgsrc/audio/openal-soft/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/Makefile 2017/08/06 20:58:39 1.4
+++ pkgsrc/audio/openal-soft/Makefile 2017/09/13 08:08:22 1.5
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.4 2017/08/06 20:58:39 markd Exp $ 1# $NetBSD: Makefile,v 1.5 2017/09/13 08:08:22 wiz Exp $
2# 
3 2
4DISTNAME= openal-soft-1.17.2 3DISTNAME= openal-soft-1.18.1
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= http://kcat.strangesoft.net/openal-releases/ 5MASTER_SITES= http://kcat.strangesoft.net/openal-releases/
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://kcat.strangesoft.net/ 9HOMEPAGE= http://kcat.strangesoft.net/
11COMMENT= Alternative OpenAL implementation 10COMMENT= Alternative OpenAL implementation
12LICENSE= gnu-lgpl-v2 11LICENSE= gnu-lgpl-v2
13 12
14USE_CMAKE= yes 13USE_CMAKE= yes
15USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
16USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
17 16

cvs diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/PLIST 2016/02/08 01:53:48 1.1
+++ pkgsrc/audio/openal-soft/PLIST 2017/09/13 08:08:22 1.2
@@ -1,18 +1,26 @@ @@ -1,18 +1,26 @@
1@comment $NetBSD: PLIST,v 1.1 2016/02/08 01:53:48 markd Exp $ 1@comment $NetBSD: PLIST,v 1.2 2017/09/13 08:08:22 wiz Exp $
2bin/altonegen 2bin/altonegen
3bin/bsincgen 3bin/bsincgen
4bin/makehrtf 4bin/makehrtf
5bin/openal-info 5bin/openal-info
6include/AL/al.h 6include/AL/al.h
7include/AL/alc.h 7include/AL/alc.h
8include/AL/alext.h 8include/AL/alext.h
9include/AL/efx-creative.h 9include/AL/efx-creative.h
10include/AL/efx-presets.h 10include/AL/efx-presets.h
11include/AL/efx.h 11include/AL/efx.h
 12lib/cmake/OpenAL/OpenALConfig-relwithdebinfo.cmake
 13lib/cmake/OpenAL/OpenALConfig.cmake
12lib/libopenal.so 14lib/libopenal.so
13lib/libopenal.so.1 15lib/libopenal.so.1
14lib/libopenal.so.${PKGVERSION} 16lib/libopenal.so.${PKGVERSION}
15lib/pkgconfig/openal.pc 17lib/pkgconfig/openal.pc
16share/openal/alsoftrc.sample 18share/openal/alsoftrc.sample
17share/openal/hrtf/default-44100.mhr 19share/openal/hrtf/default-44100.mhr
18share/openal/hrtf/default-48000.mhr 20share/openal/hrtf/default-48000.mhr
 21share/openal/presets/3D7.1.ambdec
 22share/openal/presets/hexagon.ambdec
 23share/openal/presets/itu5.1.ambdec
 24share/openal/presets/presets.txt
 25share/openal/presets/rectangle.ambdec
 26share/openal/presets/square.ambdec

cvs diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/distinfo 2016/02/08 01:53:48 1.1
+++ pkgsrc/audio/openal-soft/distinfo 2017/09/13 08:08:22 1.2
@@ -1,8 +1,9 @@ @@ -1,8 +1,9 @@
1$NetBSD: distinfo,v 1.1 2016/02/08 01:53:48 markd Exp $ 1$NetBSD: distinfo,v 1.2 2017/09/13 08:08:22 wiz Exp $
2 2
3SHA1 (openal-soft-1.17.2.tar.bz2) = 5d6151b544caaf53a15b798a495308e421044b0d 3SHA1 (openal-soft-1.18.1.tar.bz2) = 1fe65b8342a596aa38ea643dc34cb7081444eef7
4RMD160 (openal-soft-1.17.2.tar.bz2) = 9b384c3bff9e65ec96f4ae7af2754b52871dabfc 4RMD160 (openal-soft-1.18.1.tar.bz2) = f822be811120db3092225da544dc9ca7746bc47e
5SHA512 (openal-soft-1.17.2.tar.bz2) = 50c20cd3ddada55d91643a79c2894d5a14315d5fc1ed8e870e3d8d3f410e8b7d8da29b838226e7fce37fbeca719ff919b51806f72e4cd529a18fbe8bd68860e3 5SHA512 (openal-soft-1.18.1.tar.bz2) = 5ee86f21c499d79b139b78e3a8ddb6f79d293d7fb2076342396444a2a056eeb5bf39def18577280a41c9192ba5c6cfd3c67a68e97a6914a9c0ae81b4811c0c60
6Size (openal-soft-1.17.2.tar.bz2) = 486934 bytes 6Size (openal-soft-1.18.1.tar.bz2) = 638913 bytes
7SHA1 (patch-alc_alcconfig.c) = a137776f204bb75bfa199b0802d985ebe030c10e 7SHA1 (patch-CMakeLists.txt) = 3bd95d57b8d7fb26c73debee69ac67a3b6d0a8cb
8SHA1 (patch-common_threads.c) = 87593018c95c146bc4f51e2e8caa0cf6f769d74b 8SHA1 (patch-alc_alcconfig.c) = 6344ecd30cc00aff9208603c03744e4841fc8534
 9SHA1 (patch-common_threads.c) = a4c7deb58bf344439efb5141c6f3ed25b944cb69

File Added: pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
$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")

cvs diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/Attic/patch-alc_alcconfig.c (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/patches/Attic/patch-alc_alcconfig.c 2016/02/08 01:53:48 1.1
+++ pkgsrc/audio/openal-soft/patches/Attic/patch-alc_alcconfig.c 2017/09/13 08:08:22 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-alc_alcconfig.c,v 1.1 2016/02/08 01:53:48 markd Exp $ 1$NetBSD: patch-alc_alcconfig.c,v 1.2 2017/09/13 08:08:22 wiz Exp $
2 2
3Allow the Makefile to specify the default config file path. 3Allow the Makefile to specify the default config file path.
4 4
5--- Alc/alcConfig.c.orig 2016-01-29 11:04:27.000000000 +0100 5--- Alc/alcConfig.c.orig 2017-07-30 05:09:21.000000000 +0000
6+++ Alc/alcConfig.c 2016-01-29 11:04:41.000000000 +0100 6+++ Alc/alcConfig.c
7@@ -353,7 +353,7 @@ 7@@ -424,7 +424,7 @@ void ReadALConfig(void)
8 const char *str; 8 al_string ppath;
9 FILE *f; 9 FILE *f;
10  10
11- str = "/etc/openal/alsoft.conf"; 11- str = "/etc/openal/alsoft.conf";
12+ str = SYS_CONF_DIR "/alsoft.conf"; 12+ str = SYS_CONF_DIR "/alsoft.conf";
13  13
14 TRACE("Loading config %s...\n", str); 14 TRACE("Loading config %s...\n", str);
15 f = al_fopen(str, "r"); 15 f = al_fopen(str, "r");

cvs diff -r1.1 -r1.2 pkgsrc/audio/openal-soft/patches/Attic/patch-common_threads.c (expand / switch to unified diff)

--- pkgsrc/audio/openal-soft/patches/Attic/patch-common_threads.c 2016/02/08 01:53:48 1.1
+++ pkgsrc/audio/openal-soft/patches/Attic/patch-common_threads.c 2017/09/13 08:08:22 1.2
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: patch-common_threads.c,v 1.1 2016/02/08 01:53:48 markd Exp $ 1$NetBSD: patch-common_threads.c,v 1.2 2017/09/13 08:08:22 wiz Exp $
2 2
3Adjust usage of pthread_setname_np(3). 3Adjust usage of pthread_setname_np(3).
4 4
5--- common/threads.c.orig 2016-01-25 04:12:39.000000000 +0100 5--- common/threads.c.orig 2017-07-30 05:09:21.000000000 +0000
6+++ common/threads.c 2016-01-29 18:13:41.000000000 +0100 6+++ common/threads.c
7@@ -501,8 +501,12 @@ 7@@ -501,8 +501,12 @@ void althrd_setname(althrd_t thr, const
8 if(althrd_equal(thr, althrd_current())) 8 if(althrd_equal(thr, althrd_current()))
9 pthread_setname_np(name); 9 pthread_setname_np(name);
10 #else 10 #else
11+#if defined(__NetBSD__) 11+#if defined(__NetBSD__)
12+ pthread_setname_np(thr, "%s", name); 12+ pthread_setname_np(thr, "%s", (void *)name);
13+#else 13+#else
14 pthread_setname_np(thr, name); 14 pthread_setname_np(thr, name);
15 #endif 15 #endif
16+#endif 16+#endif
17 #elif defined(HAVE_PTHREAD_SET_NAME_NP) 17 #elif defined(HAVE_PTHREAD_SET_NAME_NP)
18 pthread_set_name_np(thr, name); 18 pthread_set_name_np(thr, name);
19 #else 19 #else