diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 054e740..5ed1d2e 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -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());