更新 'src/Network/fgcom.cxx'
This commit is contained in:
@@ -264,14 +264,15 @@ void FGCom::postinit()
|
|||||||
|
|
||||||
//iaxc_set_callerid("guest","FGCOM");
|
//iaxc_set_callerid("guest","FGCOM");
|
||||||
|
|
||||||
//iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);
|
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_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);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
void iaxc_set_speex_settings(int decode_enhance, float quality,
|
void iaxc_set_speex_settings(int decode_enhance, float quality,
|
||||||
@@ -279,8 +280,8 @@ void FGCom::postinit()
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE);
|
iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE);
|
||||||
//iaxc_set_silence_threshold(_silenceThd_node->getFloatValue());
|
iaxc_set_silence_threshold(_silenceThd_node->getFloatValue());
|
||||||
|
|
||||||
iaxc_start_processing_thread ();
|
iaxc_start_processing_thread ();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user