更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
5da3ef8159
commit
ec1c5f5a92
@ -650,10 +650,10 @@ void FGCom::valueChanged(SGPropertyNode *prop)
|
||||
|
||||
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 ";
|
||||
|
||||
//SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
|
||||
//system(urlcmd.c_str());
|
||||
SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
|
||||
system(urlcmd.c_str(),soundpath.c_str());
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user