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