]> git.mxchange.org Git - flightgear.git/commitdiff
FGCom: change default silence threshold
authorClément de l'Hamaide <clemaez@hotmail.fr>
Tue, 4 Feb 2014 11:18:20 +0000 (12:18 +0100)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Tue, 4 Feb 2014 11:18:50 +0000 (12:18 +0100)
src/Network/fgcom.cxx
utils/fgcom/fgcom.cxx

index 8dff1536342d5bc51e9f9ae0029ca5c300061c59..8d1bfc96c8bb332af58b23ac6677891247fb75f3 100644 (file)
@@ -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);
index f3f972df74a83b099dd1e6011736684636578fbe..af94b0ace265ff7e8f80a01436605bb75450920f 100644 (file)
@@ -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;