更新 'src/Instrumentation/commradio.cxx'

This commit is contained in:
zhongjin 2022-12-12 19:13:31 +08:00
parent c5f5227328
commit dde91c0dfa

View File

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