mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
opus: update to 1.1.4
This commit is contained in:
parent
6739d79865
commit
06a87672f1
2 changed files with 5 additions and 29 deletions
|
@ -1,24 +0,0 @@
|
||||||
From 79e8f527b0344b0897a65be35e77f7885bd99409 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Felicia Lim <flim@google.com>
|
|
||||||
Date: Thu, 28 Jul 2016 15:21:19 +0200
|
|
||||||
Subject: [PATCH] Ensure that NLSF cannot be negative when computing a min
|
|
||||||
distance between them
|
|
||||||
|
|
||||||
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|
|
||||||
---
|
|
||||||
silk/NLSF_stabilize.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git silk/NLSF_stabilize.c silk/NLSF_stabilize.c
|
|
||||||
index 1fa1ea3..8f3426b 100644
|
|
||||||
--- silk/NLSF_stabilize.c
|
|
||||||
+++ silk/NLSF_stabilize.c
|
|
||||||
@@ -130,7 +130,7 @@ void silk_NLSF_stabilize(
|
|
||||||
|
|
||||||
/* Keep delta_min distance between the NLSFs */
|
|
||||||
for( i = 1; i < L; i++ )
|
|
||||||
- NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], NLSF_Q15[i-1] + NDeltaMin_Q15[i] );
|
|
||||||
+ NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], silk_ADD_SAT16( NLSF_Q15[i-1], NDeltaMin_Q15[i] ) );
|
|
||||||
|
|
||||||
/* Last NLSF should be no higher than 1 - NDeltaMin[L] */
|
|
||||||
NLSF_Q15[L-1] = silk_min_int( NLSF_Q15[L-1], (1<<15) - NDeltaMin_Q15[L] );
|
|
|
@ -1,22 +1,22 @@
|
||||||
# Template file for 'opus'
|
# Template file for 'opus'
|
||||||
pkgname=opus
|
pkgname=opus
|
||||||
version=1.1.3
|
version=1.1.4
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-float-approx"
|
configure_args="--enable-float-approx"
|
||||||
short_desc="Codec designed for interactive speech and audio transmission over the Internet"
|
short_desc="Totally open, royalty-free, highly versatile audio codec"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.opus-codec.org/"
|
homepage="http://www.opus-codec.org/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
|
distfiles="http://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
|
||||||
checksum=58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633
|
checksum=9122b6b380081dd2665189f97bfd777f04f92dc3ab6698eea1dbb27ad59d8692
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
opus-devel_package() {
|
opus-devel_package() {
|
||||||
depends="opus>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Reference in a new issue