svn commit: r453593 - in head/audio/darkice: . files
Thomas Zander
riggs at FreeBSD.org
Mon Nov 6 07:18:58 UTC 2017
Author: riggs
Date: Mon Nov 6 07:18:57 2017
New Revision: 453593
URL: https://svnweb.freebsd.org/changeset/ports/453593
Log:
Retain API compatibility with faac 1.29.9 and later
Details:
- See PR 223416
Added:
head/audio/darkice/files/patch-src_FaacEncoder.cpp (contents, props changed)
Modified:
head/audio/darkice/Makefile
Modified: head/audio/darkice/Makefile
==============================================================================
--- head/audio/darkice/Makefile Mon Nov 6 06:41:55 2017 (r453592)
+++ head/audio/darkice/Makefile Mon Nov 6 07:18:57 2017 (r453593)
@@ -3,6 +3,7 @@
PORTNAME= darkice
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= audio net
MASTER_SITES= SF
Added: head/audio/darkice/files/patch-src_FaacEncoder.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/darkice/files/patch-src_FaacEncoder.cpp Mon Nov 6 07:18:57 2017 (r453593)
@@ -0,0 +1,13 @@
+--- src/FaacEncoder.cpp.orig 2015-05-18 17:38:07 UTC
++++ src/FaacEncoder.cpp
+@@ -95,7 +95,9 @@ FaacEncoder :: open ( void )
+ faacConfig->useTns = 1;
+ faacConfig->shortctl = SHORTCTL_NORMAL;
+ faacConfig->useLfe = 0;
+- faacConfig->allowMidside = 1;
++ //Do not set allowMidside for API compatibility with faac,
++ //see https://github.com/knik0/faac/issues/8 for details
++ //faacConfig->allowMidside = 1;
+ faacConfig->bitRate = getOutBitrate() * 1000 / getOutChannel();
+ faacConfig->bandWidth = lowpass;
+ faacConfig->quantqual = (unsigned long) (getOutQuality() * 1000.0);
More information about the svn-ports-all
mailing list