From eb21edd1cfb9913769c92593a02b58c75c5b34c4 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Tue, 22 May 2012 12:52:08 +0000 Subject: [PATCH] Using bfdload.bin newer v.24/112-20 this is possible to activate noise supression in Tx direction too. --- chan_capi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chan_capi.c b/chan_capi.c index 2cdb02b..28b0e0c 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -6490,10 +6490,10 @@ static int pbx_capi_noisesuppressor(struct ast_channel *c, char *param) } if (ast_true(param)) { - i->divaDataStubAudioFlags |= 0x0080; + i->divaDataStubAudioFlags |= 0x0080 /* Use to activate in Tx direction 0x0040 */; capi_diva_audio_features(i, 0); } else if (ast_false(param)) { - i->divaDataStubAudioFlags &= ~0x0080; + i->divaDataStubAudioFlags &= ~0x0080 /* Use to activate in Tx direction ~0x0040 */; capi_diva_audio_features(i, 0); } else { cc_log(LOG_WARNING, "Parameter for noise suppressor invalid.\n");