Lines Matching refs:fs_kHz
37 …opus_int fs_kHz, /* I Sampling frequency (kHz) … in silk_decoder_set_fs() argument
43 celt_assert( fs_kHz == 8 || fs_kHz == 12 || fs_kHz == 16 ); in silk_decoder_set_fs()
47 psDec->subfr_length = silk_SMULBB( SUB_FRAME_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
51 if( psDec->fs_kHz != fs_kHz || psDec->fs_API_hz != fs_API_Hz ) { in silk_decoder_set_fs()
53 … ret += silk_resampler_init( &psDec->resampler_state, silk_SMULBB( fs_kHz, 1000 ), fs_API_Hz, 0 ); in silk_decoder_set_fs()
58 if( psDec->fs_kHz != fs_kHz || frame_length != psDec->frame_length ) { in silk_decoder_set_fs()
59 if( fs_kHz == 8 ) { in silk_decoder_set_fs()
72 if( psDec->fs_kHz != fs_kHz ) { in silk_decoder_set_fs()
73 psDec->ltp_mem_length = silk_SMULBB( LTP_MEM_LENGTH_MS, fs_kHz ); in silk_decoder_set_fs()
74 if( fs_kHz == 8 || fs_kHz == 12 ) { in silk_decoder_set_fs()
81 if( fs_kHz == 16 ) { in silk_decoder_set_fs()
83 } else if( fs_kHz == 12 ) { in silk_decoder_set_fs()
85 } else if( fs_kHz == 8 ) { in silk_decoder_set_fs()
99 psDec->fs_kHz = fs_kHz; in silk_decoder_set_fs()