echo-cancel: Fix echo suppression, add some knobs

The echo suppress attenuation value was being incorrectly modified.
Fixed and added 2 arguments to change the attenuation of the residual
echo filter. Default values of the speex preprocessor will be used when
omitted.
This commit is contained in:
Bart Cerneels 2011-05-28 07:57:22 +05:30 committed by Arun Raghavan
parent 4fd3efa46b
commit 9e78de2da2
2 changed files with 36 additions and 3 deletions

View file

@ -68,6 +68,8 @@ struct pa_echo_canceller {
pa_bool_t agc;
pa_bool_t denoise;
pa_bool_t echo_suppress;
int32_t echo_suppress_attenuation;
int32_t echo_suppress_attenuation_active;
SpeexPreprocessState *pp_state;
};