更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
0c10ae9579
commit
6785b8a22e
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user