更新 'src/Network/fgcom.cxx'
This commit is contained in:
@@ -651,8 +651,8 @@ void FGCom::valueChanged(SGPropertyNode *prop)
|
||||
|
||||
SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath);
|
||||
|
||||
std::string urlcmd = "ffplay -nodisp -autoexit -loglevel quiet -i ";
|
||||
urlcmd.append(soundpath);
|
||||
std::string urlcmd = "ffplay -nodisp -autoexit -loglevel quiet -i " + soundpath;
|
||||
|
||||
SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
|
||||
system(urlcmd.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user