Lines Matching refs:sampling_rate
181 int sampling_rate; /**< Sampling rate of the input/output */
391 EXPORT SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate)
425 st->sampling_rate = sampling_rate;
442 st->bank = filterbank_new(M, sampling_rate, N, 1);
504 float ff=((float)i)*.5*sampling_rate/((float)N);
515 st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate);
516 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate);
1077 st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate);
1080 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/st->frame_size);
1083 st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate);
1086 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_decrease_step)*st->sampling_rate/st->frame_size);