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();