mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
opus: Update to upstream version 1.1.4
(cherry picked from commit dd8655aac9)
This commit is contained in:
parent
20d1a28341
commit
2bc0208b2c
2 changed files with 3 additions and 2 deletions
3
thirdparty/README.md
vendored
3
thirdparty/README.md
vendored
|
|
@ -135,7 +135,7 @@ TODO.
|
||||||
## opus
|
## opus
|
||||||
|
|
||||||
- Upstream: https://opus-codec.org
|
- Upstream: https://opus-codec.org
|
||||||
- Version: 1.1.3 (opus) and 0.8 (opusfile)
|
- Version: 1.1.4 (opus) and 0.8 (opusfile)
|
||||||
- License: BSD-3-Clause
|
- License: BSD-3-Clause
|
||||||
|
|
||||||
Files extracted from upstream source:
|
Files extracted from upstream source:
|
||||||
|
|
@ -143,6 +143,7 @@ Files extracted from upstream source:
|
||||||
- all .c and .h files in src/ (both opus and opusfile),
|
- all .c and .h files in src/ (both opus and opusfile),
|
||||||
except `opus_demo.c`
|
except `opus_demo.c`
|
||||||
- all .h files in include/ (both opus and opusfile) as opus/
|
- all .h files in include/ (both opus and opusfile) as opus/
|
||||||
|
- celt/ and silk/ subfolders
|
||||||
- COPYING
|
- COPYING
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
thirdparty/opus/silk/NLSF_stabilize.c
vendored
2
thirdparty/opus/silk/NLSF_stabilize.c
vendored
|
|
@ -130,7 +130,7 @@ void silk_NLSF_stabilize(
|
||||||
|
|
||||||
/* Keep delta_min distance between the NLSFs */
|
/* Keep delta_min distance between the NLSFs */
|
||||||
for( i = 1; i < L; i++ )
|
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] */
|
/* 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] );
|
NLSF_Q15[L-1] = silk_min_int( NLSF_Q15[L-1], (1<<15) - NDeltaMin_Q15[L] );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue