Displaying 1 result from an estimated 1 matches for "speex_preprocess_set_agc_gain".
Did you mean:
speex_preprocess_get_agc_gain
2004 Aug 06
1
Proposed AGC additions
...adjust the max AGC gain based on the
results of a "mic setup wizard" type of thing, and/or the
highest gain reached (and sustained) during the previous call.
So that's where the SPEEX_PREPROCESS_SET_AGC_MAX_GAIN would
come in. I don't think there's any point in trying to do a
SPEEX_PREPROCESS_SET_AGC_GAIN so I didn't list it here,
but if anyone can think of a reason please say so.
It's easy to implement these commands:
In preprocess.h, SpeexPreprocessState:
float agc_gain;
float agc_max_gain;
In preprocess.h, #defines at the end:
#define SPEEX_PREPROCESS_GET_AGC_GAIN 14
#define SPEEX_PR...