diff options
author | Koen Vos <koen.vos@skype.net> | 2011-12-13 14:50:12 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-12-13 14:50:12 -0500 |
commit | bbfc9c9ee5de680320aeae2f8bd981ebe7af6861 (patch) | |
tree | 0b1f05721de43ea51d17034e6383447f892dabf7 /silk/enc_API.c | |
parent | bf75c8ec4d0dded188bc7793de6da56c7ff0be1c (diff) | |
download | opus-bbfc9c9ee5de680320aeae2f8bd981ebe7af6861.tar.gz |
Improves the accuracy such that it matches a float decoder much better
Diffstat (limited to 'silk/enc_API.c')
-rw-r--r-- | silk/enc_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/enc_API.c b/silk/enc_API.c index b993ed59..d662bf25 100644 --- a/silk/enc_API.c +++ b/silk/enc_API.c @@ -392,7 +392,7 @@ opus_int silk_Encode( /* O Returns error co psEnc->state_Fxx[ 1 ].sCmn.sNSQ.lagPrev = 100; psEnc->state_Fxx[ 1 ].sShape.LastGainIndex = 10; psEnc->state_Fxx[ 1 ].sCmn.prevSignalType = TYPE_NO_VOICE_ACTIVITY; - psEnc->state_Fxx[ 1 ].sCmn.sNSQ.prev_inv_gain_Q16 = 65536; + psEnc->state_Fxx[ 1 ].sCmn.sNSQ.prev_inv_gain_Q31 = silk_int32_MAX; psEnc->state_Fxx[ 1 ].sCmn.first_frame_after_reset = 1; } silk_encode_do_VAD_Fxx( &psEnc->state_Fxx[ 1 ] ); |