FGCom: allow ulaw codec too
This commit is contained in:
parent
4dde865cbc
commit
1970a8e0a8
2 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ void FGCom::postinit()
|
|||
app += _version_node->getStringValue();
|
||||
|
||||
iaxc_set_callerid( _callsign_node->getStringValue(), app.c_str() );
|
||||
iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_SPEEX);
|
||||
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_silence_threshold(-20.0);
|
||||
|
|
|
@ -448,7 +448,7 @@ main (int argc, char *argv[])
|
|||
callsign = DEFAULT_USER;
|
||||
|
||||
iaxc_set_callerid ( callsign, app.c_str() );
|
||||
iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_SPEEX);
|
||||
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_silence_threshold(-20.0);
|
||||
|
|
Loading…
Reference in a new issue