更新 'src/Instrumentation/commradio.cxx'

next
zhongjin 2 years ago
parent 9fed5ea37f
commit 0c61df5971

@ -97,16 +97,15 @@ void AtisSpeaker::valueChanged(SGPropertyNode * node)
if (!fgGetBool("/sim/sound/working", false)) if (!fgGetBool("/sim/sound/working", false))
return; return;
SG_LOG(SG_INSTR,SG_INFO,"node:" << node);
string newText = node->getStringValue(); string newText = node->getStringValue();
SG_LOG(SG_INSTR,SG_INFO,"newText:" << newText);
if (_synthesizeRequest.text == newText) return; if (_synthesizeRequest.text == newText) return;
SG_LOG(SG_INSTR,SG_INFO,"newText:" << newText);
_synthesizeRequest.text = newText; _synthesizeRequest.text = newText;
string voice = "cmu_us_arctic_slt"; string voice = "cmu_us_arctic_slt";

Loading…
Cancel
Save