更新 'src/Network/fgcom.cxx'

This commit is contained in:
2022-12-06 16:20:22 +08:00
parent ec1c5f5a92
commit b38483579b

View File

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