diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/decode_parameters.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/decode_parameters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/decode_parameters.c b/lib/rbcodec/codecs/libopus/silk/decode_parameters.c index e345b1dcef..a56a409858 100644 --- a/lib/rbcodec/codecs/libopus/silk/decode_parameters.c +++ b/lib/rbcodec/codecs/libopus/silk/decode_parameters.c | |||
@@ -52,7 +52,7 @@ void silk_decode_parameters( | |||
52 | silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); | 52 | silk_NLSF_decode( pNLSF_Q15, psDec->indices.NLSFIndices, psDec->psNLSF_CB ); |
53 | 53 | ||
54 | /* Convert NLSF parameters to AR prediction filter coefficients */ | 54 | /* Convert NLSF parameters to AR prediction filter coefficients */ |
55 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order ); | 55 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 1 ], pNLSF_Q15, psDec->LPC_order, psDec->arch ); |
56 | 56 | ||
57 | /* If just reset, e.g., because internal Fs changed, do not allow interpolation */ | 57 | /* If just reset, e.g., because internal Fs changed, do not allow interpolation */ |
58 | /* improves the case of packet loss in the first frame after a switch */ | 58 | /* improves the case of packet loss in the first frame after a switch */ |
@@ -69,7 +69,7 @@ void silk_decode_parameters( | |||
69 | } | 69 | } |
70 | 70 | ||
71 | /* Convert NLSF parameters to AR prediction filter coefficients */ | 71 | /* Convert NLSF parameters to AR prediction filter coefficients */ |
72 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order ); | 72 | silk_NLSF2A( psDecCtrl->PredCoef_Q12[ 0 ], pNLSF0_Q15, psDec->LPC_order, psDec->arch ); |
73 | } else { | 73 | } else { |
74 | /* Copy LPC coefficients for first half from second half */ | 74 | /* Copy LPC coefficients for first half from second half */ |
75 | silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) ); | 75 | silk_memcpy( psDecCtrl->PredCoef_Q12[ 0 ], psDecCtrl->PredCoef_Q12[ 1 ], psDec->LPC_order * sizeof( opus_int16 ) ); |