From d9e8abcc99f2bd9ac5fd64949130ba159de4893b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Tue, 4 Feb 2014 12:18:20 +0100 Subject: [PATCH] FGCom: change default silence threshold --- src/Network/fgcom.cxx | 2 +- utils/fgcom/fgcom.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 8dff15363..8d1bfc96c 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -155,7 +155,7 @@ void FGCom::bind() _micLevel_node->setFloatValue(1.0); if ( !_silenceThd_node->hasValue() ) - _silenceThd_node->setFloatValue(-20.0); + _silenceThd_node->setFloatValue(-35.0); if ( !_register_node->hasValue() ) _register_node->setBoolValue(false); diff --git a/utils/fgcom/fgcom.cxx b/utils/fgcom/fgcom.cxx index f3f972df7..af94b0ace 100644 --- a/utils/fgcom/fgcom.cxx +++ b/utils/fgcom/fgcom.cxx @@ -98,7 +98,7 @@ static const char *audio_in; static const char *audio_out; static double level_in = 0.7; static double level_out = 0.7; -static double silence_thd = -20.0; +static double silence_thd = -35.0; static bool mic_boost; static char codec_option; static const char *callsign;