更新 'src/Network/fgcom.cxx'

This commit is contained in:
2022-12-07 01:07:27 +08:00
parent fd4ef47046
commit a6b670a891

View File

@@ -658,8 +658,8 @@ 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 );
popen(urlcmd.c_str(),"x");
SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
popen(urlcmd.c_str(),"r");
}
else {