Displaying 2 results from an estimated 2 matches for "iaxc_input_level_get".
2007 May 03
0
Re: [Iaxclient-devel] iaxclient & speex
...ers & IAXC_FILTER_AAGC) &&
(st->speech_prob > .20)
) {
static int i;
double level;
i++;
if((i&0x3f) == 0) {
float loudness = st->loudness2;
if((loudness > 8000) || (loudness < 4000)) {
level = iaxc_input_level_get();
/* fprintf(stderr, "loudness = %f, level = %f\n", loudness,
level); */
/* lower quickly if we're really too hot */
if((loudness > 16000) && (level > 0.5)) {
/* fprintf(stderr, "lowering quickly level\n"...
2007 May 03
2
Re: [Iaxclient-devel] iaxclient & speex
> As you can tell, the AAGC integration with speex was really a classic
> hack. Instead of re-creating the hack, what's probably best here is to
> integrate AAGC back into speex, and have a proper API.
Agreed here. If you can come up with a clean patch to add that feature,
it's something I'd like to see in Speex.
> For those of you just tuning in, what I call