From af124cf7e5f683cc9defad41246acef3b1ad2c26 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sun, 29 Oct 2023 13:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'utils/fgcom/fgcom=5Fexter?= =?UTF-8?q?nal.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/fgcom/fgcom_external.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/fgcom/fgcom_external.cxx b/utils/fgcom/fgcom_external.cxx index 42fe002..6057e3b 100644 --- a/utils/fgcom/fgcom_external.cxx +++ b/utils/fgcom/fgcom_external.cxx @@ -561,10 +561,10 @@ bool lib_init() // iaxc_set_formats(IAXC_FORMAT_GSM, IAXC_FORMAT_ULAW|IAXC_FORMAT_GSM); iaxc_set_speex_settings(1, 5, 0, 1, 0, 3); -// iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE); + iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE); iaxc_set_event_callback(iaxc_callback); iaxc_start_processing_thread (); -// lib_setSilenceThreshold(_silenceThd); + lib_setSilenceThreshold(_silenceThd); return true; }