Lines Matching refs:agc_level
230 float agc_level; member
500 st->agc_level = 8000; in speex_preprocess_state_init()
591 …target_gain = AMP_SCALE*st->agc_level*pow(st->loudness/(1e-4+st->loudness_accum), -1.0f/LOUDNESS_E… in speex_compute_agc()
1066 st->agc_level = (*(float*)ptr); in speex_preprocess_ctl()
1067 if (st->agc_level<1) in speex_preprocess_ctl()
1068 st->agc_level=1; in speex_preprocess_ctl()
1069 if (st->agc_level>32768) in speex_preprocess_ctl()
1070 st->agc_level=32768; in speex_preprocess_ctl()
1073 (*(float*)ptr) = st->agc_level; in speex_preprocess_ctl()
1195 st->agc_level = (*(spx_int32_t*)ptr); in speex_preprocess_ctl()
1196 if (st->agc_level<1) in speex_preprocess_ctl()
1197 st->agc_level=1; in speex_preprocess_ctl()
1198 if (st->agc_level>32768) in speex_preprocess_ctl()
1199 st->agc_level=32768; in speex_preprocess_ctl()
1202 (*(spx_int32_t*)ptr) = st->agc_level; in speex_preprocess_ctl()