pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/wavpack



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jan 28 12:17:44 UTC 2025

Modified Files:
        pkgsrc/audio/wavpack: Makefile distinfo
Added Files:
        pkgsrc/audio/wavpack/patches: patch-cli_utils.c

Log Message:
wavpack: updated to 5.8.0

5.8.0

Much of the development for this release stemmed from the discovery of situations where the quantization noise introduced with the hybrid mode was higher than expected, in particular with very low 
bitrates (e.g., < 3 bps) and high sample rates. This was traced to feedback in the decorrelation loop and has been addressed. Also, audio samples were discovered where the DNS (dynamic noise shaping) 
algorithm produced sub-optimal shaping, and this has been addressed with an all-new DNS algorithm. Finally, some issues were fixed that caused the "extra" mode performance to degrade with 
multithreading and also with the hybrid mode.

The other major change is that multithreading is now turned on by default for the command-line programs, assuming that a multicore CPU is detected. This can be disabled with a new option --no-threads.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/wavpack/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/audio/wavpack/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/wavpack/patches/patch-cli_utils.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/wavpack/Makefile
diff -u pkgsrc/audio/wavpack/Makefile:1.16 pkgsrc/audio/wavpack/Makefile:1.17
--- pkgsrc/audio/wavpack/Makefile:1.16  Sun Mar  3 08:11:20 2024
+++ pkgsrc/audio/wavpack/Makefile       Tue Jan 28 12:17:44 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2024/03/03 08:11:20 adam Exp $
+# $NetBSD: Makefile,v 1.17 2025/01/28 12:17:44 adam Exp $
 
-DISTNAME=      wavpack-5.7.0
+DISTNAME=      wavpack-5.8.0
 CATEGORIES=    audio
 MASTER_SITES=  https://www.wavpack.com/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/audio/wavpack/distinfo
diff -u pkgsrc/audio/wavpack/distinfo:1.17 pkgsrc/audio/wavpack/distinfo:1.18
--- pkgsrc/audio/wavpack/distinfo:1.17  Sun Mar  3 08:11:20 2024
+++ pkgsrc/audio/wavpack/distinfo       Tue Jan 28 12:17:44 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.17 2024/03/03 08:11:20 adam Exp $
+$NetBSD: distinfo,v 1.18 2025/01/28 12:17:44 adam Exp $
 
-BLAKE2s (wavpack-5.7.0.tar.xz) = 83deb462b202544dd182ec70aa8f7ba3b0019e53879fdca485d5794c4c15d9cf
-SHA512 (wavpack-5.7.0.tar.xz) = 63ef6eb5ff71bf6417175691e8377624ade02619c761d80e265c8e0e7305bfe22eeaa1402e36d20c13d20847279f95150ac014019688389da1b87b86558446bd
-Size (wavpack-5.7.0.tar.xz) = 814324 bytes
+BLAKE2s (wavpack-5.8.0.tar.xz) = 9d7bbea87fb01558829522691d28b4b9259c189396f6d5924c3e5f692698d9c3
+SHA512 (wavpack-5.8.0.tar.xz) = 657291daf263fe51e17b99dad7d5115ba2952b7b4c713b3804e5617790bd706f69ce439c280263676c666c7522eee1106ef36e03f925627e0c73f951f0473e9e
+Size (wavpack-5.8.0.tar.xz) = 821392 bytes
+SHA1 (patch-cli_utils.c) = 4d00792447c815ce76a84745711a36346edcb2ec

Added files:

Index: pkgsrc/audio/wavpack/patches/patch-cli_utils.c
diff -u /dev/null pkgsrc/audio/wavpack/patches/patch-cli_utils.c:1.1
--- /dev/null   Tue Jan 28 12:17:44 2025
+++ pkgsrc/audio/wavpack/patches/patch-cli_utils.c      Tue Jan 28 12:17:44 2025
@@ -0,0 +1,28 @@
+$NetBSD: patch-cli_utils.c,v 1.1 2025/01/28 12:17:44 adam Exp $
+
+Support Darwin.
+https://github.com/dbry/WavPack/pull/196
+
+--- cli/utils.c.orig   2025-01-28 12:06:30.022371964 +0000
++++ cli/utils.c
+@@ -671,7 +671,9 @@ int check_break (void)
+ 
+ #ifdef ENABLE_THREADS
+ 
+-#if defined(__GNUC__) && !defined(_WIN32)
++#if defined(__APPLE__) || defined(__NetBSD__)
++#include <sys/sysctl.h>
++#elif defined(__GNUC__) && !defined(_WIN32)
+ #include <sys/sysinfo.h>
+ #endif
+ 
+@@ -683,6 +685,9 @@ int get_default_worker_threads (void)
+     SYSTEM_INFO sysinfo;
+     GetSystemInfo (&sysinfo);
+     num_processors = sysinfo.dwNumberOfProcessors;
++#elif defined(__APPLE__) || defined(__NetBSD__)
++    size_t len = sizeof(num_processors);
++    sysctlbyname("hw.ncpu", &num_processors, &len, NULL, 0);
+ #elif defined (__GNUC__)
+     num_processors = get_nprocs ();
+ #endif



Home | Main Index | Thread Index | Old Index