Lines Matching refs:sampling_rate
267 speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); in sb_encoder_init()
268 st->sampling_rate*=2; in sb_encoder_init()
474 …if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->f… in sb_encode()
780 speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); in sb_decoder_init()
781 st->sampling_rate*=2; in sb_decoder_init()
1237 (*(spx_int32_t*)ptr) += st->sampling_rate*SUBMODE(bits_per_frame)/st->full_frame_size; in sb_encoder_ctl()
1239 (*(spx_int32_t*)ptr) += st->sampling_rate*(SB_SUBMODE_BITS+1)/st->full_frame_size; in sb_encoder_ctl()
1245 st->sampling_rate = tmp; in sb_encoder_ctl()
1251 (*(spx_int32_t*)ptr)=st->sampling_rate; in sb_encoder_ctl()
1402 (*(spx_int32_t*)ptr) += st->sampling_rate*SUBMODE(bits_per_frame)/st->full_frame_size; in sb_decoder_ctl()
1404 (*(spx_int32_t*)ptr) += st->sampling_rate*(SB_SUBMODE_BITS+1)/st->full_frame_size; in sb_decoder_ctl()
1409 st->sampling_rate = tmp; in sb_decoder_ctl()
1415 (*(spx_int32_t*)ptr)=st->sampling_rate; in sb_decoder_ctl()