diff --git a/src/Instrumentation/commradio.cxx b/src/Instrumentation/commradio.cxx index 902726a..8c625bf 100644 --- a/src/Instrumentation/commradio.cxx +++ b/src/Instrumentation/commradio.cxx @@ -97,16 +97,15 @@ void AtisSpeaker::valueChanged(SGPropertyNode * node) if (!fgGetBool("/sim/sound/working", false)) return; - SG_LOG(SG_INSTR,SG_INFO,"node:" << node); - - string newText = node->getStringValue(); - SG_LOG(SG_INSTR,SG_INFO,"newText:" << newText); if (_synthesizeRequest.text == newText) return; + SG_LOG(SG_INSTR,SG_INFO,"newText:" << newText); + + _synthesizeRequest.text = newText; string voice = "cmu_us_arctic_slt";