diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/darkice/Makefile | 1 | ||||
-rw-r--r-- | audio/darkice/files/patch-src_FaacEncoder.cpp | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile index dff15408ebd8..2de7cc753984 100644 --- a/audio/darkice/Makefile +++ b/audio/darkice/Makefile @@ -3,6 +3,7 @@ PORTNAME= darkice PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= audio net MASTER_SITES= SF diff --git a/audio/darkice/files/patch-src_FaacEncoder.cpp b/audio/darkice/files/patch-src_FaacEncoder.cpp new file mode 100644 index 000000000000..45969a66c562 --- /dev/null +++ b/audio/darkice/files/patch-src_FaacEncoder.cpp @@ -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); |