From cc9a3d05fec1088ff9ae2617eb0c01e7600cbf13 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 28 Nov 2022 08:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Sound/flitevoice.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Sound/flitevoice.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Sound/flitevoice.cxx b/src/Sound/flitevoice.cxx index 96c08ea..5fb95ee 100644 --- a/src/Sound/flitevoice.cxx +++ b/src/Sound/flitevoice.cxx @@ -81,6 +81,10 @@ void FGFLITEVoice::speak(const string & msg) urlcmd.append("/speech/?str="); urlcmd.append(msg); urlcmd.append("\""); + + SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); + + system(urlcmd.c_str()); } }