Home
last modified time | relevance | path

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

/third_party/pulseaudio/speex/libspeexdsp/
H A Dpreprocess.c71 #define LOUDNESS_EXP 5.f macro
511 /*st->loudness = pow(AMP_SCALE*st->agc_level,LOUDNESS_EXP);*/ in speex_preprocess_state_init()
578 /*if (loudness < 2*pow(st->loudness, 1.0/LOUDNESS_EXP) && in speex_compute_agc()
579 loudness*2 > pow(st->loudness, 1.0/LOUDNESS_EXP))*/ in speex_compute_agc()
584 st->loudness = (1-rate)*st->loudness + (rate)*pow(AMP_SCALE*loudness, LOUDNESS_EXP); in speex_compute_agc()
589 /*printf ("%f %f %f %f\n", Pframe, loudness, pow(st->loudness, 1.0f/LOUDNESS_EXP), st->loudness2);*/ in speex_compute_agc()
591 target_gain = AMP_SCALE*st->agc_level*pow(st->loudness/(1e-4+st->loudness_accum), -1.0f/LOUDNESS_EXP); in speex_compute_agc()
606 /*fprintf (stderr, "%f %f %f\n", loudness, (float)AMP_SCALE_1*pow(st->loudness, 1.0f/LOUDNESS_EXP), st->agc_gain);*/ in speex_compute_agc()
1172 (*(spx_int32_t*)ptr) = pow(st->loudness, 1.0/LOUDNESS_EXP); in speex_preprocess_ctl()

Completed in 3 milliseconds