From 6785b8a22efed955e02d89e1d981adb29bcc66d3 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Wed, 30 Nov 2022 16:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Network/fgcom.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Network/fgcom.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 4eb9da7..4ee6df7 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -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(); }