From dbae9140153559747dcb6b12c3fda2c139836733 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Wed, 11 Feb 2015 05:10:06 +0000 Subject: Misc (re #1782): added compile-time settings for Speex AGC & denoiser in Speex AEC, note that both are enabled by default, as previously AGC was enabled (by pjmedia, as it seems to improve AEC performance) and denoiser was also enabled by default by Speex. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4981 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/include/pjmedia/config.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'pjmedia/include') diff --git a/pjmedia/include/pjmedia/config.h b/pjmedia/include/pjmedia/config.h index c075538b..8bd622ba 100644 --- a/pjmedia/include/pjmedia/config.h +++ b/pjmedia/include/pjmedia/config.h @@ -635,6 +635,27 @@ #endif +/** + * Specify whether Automatic Gain Control (AGC) should also be enabled in + * Speex AEC. + * + * Default: 1 (yes) + */ +#ifndef PJMEDIA_SPEEX_AEC_USE_AGC +# define PJMEDIA_SPEEX_AEC_USE_AGC 1 +#endif + + +/** + * Specify whether denoise should also be enabled in Speex AEC. + * + * Default: 1 (yes) + */ +#ifndef PJMEDIA_SPEEX_AEC_USE_DENOISE +# define PJMEDIA_SPEEX_AEC_USE_DENOISE 1 +#endif + + /** * Maximum number of parameters in SDP fmtp attribute. * -- cgit v1.2.3