summaryrefslogtreecommitdiffstats
path: root/src/modules/echo-cancel/echo-cancel.h
diff options
context:
space:
mode:
authorBart Cerneels <bart.cerneels@kde.org>2011-05-28 07:57:22 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-05-28 07:59:07 +0530
commit9e78de2da27e882b8cd956ec859304629011a55b (patch)
treebf6889cc2726ca66af5351ba7cad55ac5e96ef7d /src/modules/echo-cancel/echo-cancel.h
parent4fd3efa46b33726d489af933e709289d20ed5ea0 (diff)
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.
Diffstat (limited to 'src/modules/echo-cancel/echo-cancel.h')
-rw-r--r--src/modules/echo-cancel/echo-cancel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/echo-cancel/echo-cancel.h b/src/modules/echo-cancel/echo-cancel.h
index 5f18053c..aa40adce 100644
--- a/src/modules/echo-cancel/echo-cancel.h
+++ b/src/modules/echo-cancel/echo-cancel.h
@@ -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;
};