Home
last modified time | relevance | path

Searched refs:max_decrease_step (Results 1 - 1 of 1) sorted by relevance

/third_party/pulseaudio/speex/libspeexdsp/
H A Dpreprocess.c237 float max_decrease_step; /**< Maximum decrease in gain from one frame to another */ member
516 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
597 if (target_gain < st->max_decrease_step*st->agc_gain && loudness < 10*st->prev_loudness) in speex_compute_agc()
598 target_gain = st->max_decrease_step*st->agc_gain; in speex_compute_agc()
1083 st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
1086 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_decrease_step)*st->sampling_rate/st->frame_size); in speex_preprocess_ctl()

Completed in 2 milliseconds