pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/openal-soft



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep 13 08:08:23 UTC 2017

Modified Files:
        pkgsrc/audio/openal-soft: Makefile PLIST distinfo
        pkgsrc/audio/openal-soft/patches: patch-alc_alcconfig.c
            patch-common_threads.c
Added Files:
        pkgsrc/audio/openal-soft/patches: patch-CMakeLists.txt

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/audio/openal-soft/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/openal-soft/PLIST \
    pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c \
    pkgsrc/audio/openal-soft/patches/patch-common_threads.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/openal-soft/Makefile
diff -u pkgsrc/audio/openal-soft/Makefile:1.4 pkgsrc/audio/openal-soft/Makefile:1.5
--- pkgsrc/audio/openal-soft/Makefile:1.4       Sun Aug  6 20:58:39 2017
+++ pkgsrc/audio/openal-soft/Makefile   Wed Sep 13 08:08:22 2017
@@ -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

Index: pkgsrc/audio/openal-soft/PLIST
diff -u pkgsrc/audio/openal-soft/PLIST:1.1 pkgsrc/audio/openal-soft/PLIST:1.2
--- pkgsrc/audio/openal-soft/PLIST:1.1  Mon Feb  8 01:53:48 2016
+++ pkgsrc/audio/openal-soft/PLIST      Wed Sep 13 08:08:22 2017
@@ -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
Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.1 pkgsrc/audio/openal-soft/distinfo:1.2
--- pkgsrc/audio/openal-soft/distinfo:1.1       Mon Feb  8 01:53:48 2016
+++ pkgsrc/audio/openal-soft/distinfo   Wed Sep 13 08:08:22 2017
@@ -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

Index: pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c
diff -u pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c:1.1 pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c:1.2
--- pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c:1.1  Mon Feb  8 01:53:48 2016
+++ pkgsrc/audio/openal-soft/patches/patch-alc_alcconfig.c      Wed Sep 13 08:08:22 2017
@@ -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";
Index: pkgsrc/audio/openal-soft/patches/patch-common_threads.c
diff -u pkgsrc/audio/openal-soft/patches/patch-common_threads.c:1.1 pkgsrc/audio/openal-soft/patches/patch-common_threads.c:1.2
--- pkgsrc/audio/openal-soft/patches/patch-common_threads.c:1.1 Mon Feb  8 01:53:48 2016
+++ pkgsrc/audio/openal-soft/patches/patch-common_threads.c     Wed Sep 13 08:08:22 2017
@@ -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

Added files:

Index: pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed Sep 13 08:08:23 2017
+++ pkgsrc/audio/openal-soft/patches/patch-CMakeLists.txt       Wed Sep 13 08:08:22 2017
@@ -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")



Home | Main Index | Thread Index | Old Index