From 6bda97e9a504f71cfd4c7c020829aeb5af26f4c3 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 28 Nov 2022 11:00:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Sound/voice.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Sound/voice.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index 63037ee..cfc82e8 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -127,9 +127,6 @@ void FGVoiceMgr::shutdown() void FGVoiceMgr::update(double dt) { - SG_LOG(SG_SOUND, SG_INFO, "FGVoice::update " << dt ); - - if (!_enabled) return; @@ -221,6 +218,7 @@ bool FGVoiceMgr::FGVoice::speak(void) const string s = _msg.front(); _msg.pop(); + //zhongjin 播放语音 speak(s); return !_msg.empty();