更新 'src/Network/fgcom.cxx'

This commit is contained in:
2023-10-29 17:23:49 +08:00
parent 2bef823b07
commit d2d984f391

View File

@@ -277,10 +277,10 @@ void FGCom::postinit()
app += _version_node->getStringValue();
iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() );
iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);
//iaxc_set_formats (IAXC_FORMAT_GSM, IAXC_FORMAT_ULAW|IAXC_FORMAT_GSM);
//iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);
iaxc_set_formats (IAXC_FORMAT_GSM, IAXC_FORMAT_ULAW|IAXC_FORMAT_GSM);
iaxc_set_speex_settings(1, 5, 0, 1, 0, 3);
//iaxc_set_speex_settings(1, 5, 0, 1, 0, 3);
//iaxc_set_speex_settings(1,-1,-1,0,8000,3);
/*