Lines Matching refs:sampling_rate
142 spx_int32_t sampling_rate; member
433 st->sampling_rate = 8000; in speex_echo_state_init_mc()
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc()
436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc()
437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc()
439 st->beta0 = (2.0f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
440 st->beta_max = (.5f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
506 if (st->sampling_rate<12000) in speex_echo_state_init_mc()
508 else if (st->sampling_rate<24000) in speex_echo_state_init_mc()
1238 st->sampling_rate = (*(int*)ptr); in speex_echo_ctl()
1239 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_ctl()
1241 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_ctl()
1242 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_ctl()
1244 st->beta0 = (2.0f*st->frame_size)/st->sampling_rate; in speex_echo_ctl()
1245 st->beta_max = (.5f*st->frame_size)/st->sampling_rate; in speex_echo_ctl()
1247 if (st->sampling_rate<12000) in speex_echo_ctl()
1249 else if (st->sampling_rate<24000) in speex_echo_ctl()
1255 (*(int*)ptr) = st->sampling_rate; in speex_echo_ctl()