更新 'utils/fgcom/fgcom_external.cxx'
This commit is contained in:
parent
d190fc9313
commit
7c77efe229
@ -546,12 +546,16 @@ bool lib_init()
|
||||
}
|
||||
|
||||
iaxc_set_callerid( _callsign.c_str(), _app.c_str() );
|
||||
iaxc_set_formats(IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);
|
||||
iaxc_set_speex_settings(1, 5, 0, 1, 0, 3);
|
||||
iaxc_set_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE);
|
||||
// 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_filters(IAXC_FILTER_AGC | IAXC_FILTER_DENOISE);
|
||||
iaxc_set_event_callback(iaxc_callback);
|
||||
iaxc_start_processing_thread ();
|
||||
lib_setSilenceThreshold(_silenceThd);
|
||||
// lib_setSilenceThreshold(_silenceThd);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user