|
|
|
@ -350,6 +350,14 @@ void FGCom::postinit()
|
|
|
|
|
iaxc_millisleep(500);
|
|
|
|
|
|
|
|
|
|
connectToCommFrequency();
|
|
|
|
|
|
|
|
|
|
SG_LOG(SG_SOUND, SG_INFO, "FGCom: postinit 初始化完成");
|
|
|
|
|
|
|
|
|
|
iaxc_millisleep(500);
|
|
|
|
|
|
|
|
|
|
iaxc_output_level_set(1.0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
double FGCom::getCurrentCommVolume() const {
|
|
|
|
@ -485,6 +493,7 @@ void FGCom::connectToCommFrequency() {
|
|
|
|
|
void FGCom::updateCall()
|
|
|
|
|
{
|
|
|
|
|
if (_processingTimer.elapsedMSec() > IAX_DELAY) {
|
|
|
|
|
|
|
|
|
|
_processingTimer.stamp();
|
|
|
|
|
connectToCommFrequency();
|
|
|
|
|
}
|
|
|
|
|