mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Port libopus upstream patch.
Based on https://git.xiph.org/?p=opus.git;a=commitdiff;h=70a3d641b
This commit is contained in:
parent
170f2ade41
commit
7c5d4769d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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] );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue