Date: Mon, 6 Nov 2017 07:18:57 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453593 - in head/audio/darkice: . files Message-ID: <201711060718.vA67IvvU030335@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711060718.vA67IvvU030335>