更新 'src/Network/fgcom.cxx'

This commit is contained in:
zhongjin 2022-12-07 01:09:38 +08:00
parent a6b670a891
commit 523ea1dadd

View File

@ -675,7 +675,7 @@ void FGCom::valueChanged(SGPropertyNode *prop)
urlcmd.append(soundpath.c_str()); urlcmd.append(soundpath.c_str());
SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd ); SG_LOG(SG_SOUND, SG_INFO, "CMD :" << urlcmd );
system(urlcmd.c_str()); popen(urlcmd.c_str(),"r");
iaxc_output_level_set(1.0); iaxc_output_level_set(1.0);
iaxc_input_level_set(0.0); iaxc_input_level_set(0.0);
@ -683,7 +683,8 @@ void FGCom::valueChanged(SGPropertyNode *prop)
_mpTransmitFrequencyNode->setValue(0); _mpTransmitFrequencyNode->setValue(0);
_mpTransmitPowerNode->setValue(0); _mpTransmitPowerNode->setValue(0);
fgSetString("/sim/screen/white","PTT释放"); // fgSetString("/sim/screen/white","PTT释放");
mesPopup("PTT释放",3);
} }
} }