X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Ffgcom.cxx;h=f9445ead5487eb791f3dd9233ca64634c5db4f87;hb=d5b70e98e0673f27a127aae58bd26bdfe4730825;hp=28391a22bb027ce5f90a3a94daedd9cdbff45606;hpb=428f9031aae438a5ea6d3e9ce4aa71f92327123d;p=flightgear.git diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 28391a22b..f9445ead5 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -233,6 +233,8 @@ void FGCom::postinit() iaxc_set_callerid( _callsign_node->getStringValue(), app.c_str() ); iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_SPEEX); iaxc_set_speex_settings(1, 5, 0, 1, 0, 3); + iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE); + iaxc_set_silence_threshold(-20.0); iaxc_start_processing_thread (); // Now IAXClient is initialized @@ -522,8 +524,6 @@ void FGCom::testMode(bool testMode) iaxc_input_level_set( 0.0 ); iaxc_output_level_set( _speakerLevel_node->getFloatValue() ); _callComm0 = -1; - _call0Changed = true; - _call1Changed = true; _enabled = true; } }