diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index 6489d24..9dca4c1 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -86,6 +86,8 @@ void FGVoiceMgr::init() SGPropertyNode *base = fgGetNode(VOICE, true); vector voices = base->getChildren("voice"); + + for (unsigned int i = 0; i < voices.size(); i++) { SGPropertyNode_ptr voice = voices[i]; if( voice->getBoolValue("festival", false ) ) { @@ -207,6 +209,9 @@ bool FGVoiceMgr::FGVoice::speak(void) if (_msg.empty()) return false; + SG_LOG(SG_SOUND, SG_INFO, "FGVoice::speak " << _msg ); + + const string s = _msg.front(); _msg.pop();