更新 'src/Network/fgcom.cxx'

This commit is contained in:
zhongjin 2022-12-06 16:11:21 +08:00
parent 58a022eaa3
commit dbb06cbdc0

View File

@ -651,10 +651,10 @@ void FGCom::valueChanged(SGPropertyNode *prop)
SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath); SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath);
std::string urlcmd = "ffplay -nodisp -autoexit -loglevel quiet -i " + soundpath; //std::string urlcmd = "ffplay -nodisp -autoexit -loglevel quiet -i " + soundpath;
SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); //SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
system(urlcmd.c_str()); //system(urlcmd.c_str());