nixpkgs/pkgs/development/libraries/libopus/default.nix
Martin Wohlert 80ace7383d libopus: 1.1.5 -> 1.2
> http://opus-codec.org/release/stable/2017/06/20/libopus-1_2.html

Changes since 1.1.x include:

- Speech quality improvements especially in the 12-20 kbit/s range
- Improved VBR encoding for hybrid mode
- More aggressive use of wider speech bandwidth, including fullband speech starting at 14 kbit/s
- Music quality improvements in the 32-48 kb/s range
- Generic and SSE CELT optimizations
- Support for directly encoding packets up to 120 ms
- DTX support for CELT mode
- SILK CBR improvements
- Support for all of the fixes in draft-ietf-codec-opus-update-06 (the mono downmix and the folding fixes need --enable-update-draft)
- Many bug fixes, including integer wrap-arounds discovered through fuzzing (no security implications)
2017-06-21 18:27:01 +02:00

29 lines
807 B
Nix

{ stdenv, fetchurl, fetchpatch
, fixedPoint ? false, withCustomModes ? true }:
let
version = "1.2";
in
stdenv.mkDerivation rec {
name = "libopus-${version}";
src = fetchurl {
url = "https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz";
sha256 = "1ad9q2g9vivx409jdsslv1hrh5r616qz2pjm96y8ymsigfl4bnvp";
};
outputs = [ "out" "dev" ];
configureFlags = stdenv.lib.optional fixedPoint "--enable-fixed-point"
++ stdenv.lib.optional withCustomModes "--enable-custom-modes";
doCheck = true;
meta = with stdenv.lib; {
description = "Open, royalty-free, highly versatile audio codec";
license = stdenv.lib.licenses.bsd3;
homepage = http://www.opus-codec.org/;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}