]> git.mxchange.org Git - flightgear.git/commitdiff
FGCom-sa: remove commented lines
authorClément de l'Hamaide <clemaez@hotmail.fr>
Fri, 25 Oct 2013 23:51:06 +0000 (01:51 +0200)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Fri, 25 Oct 2013 23:51:56 +0000 (01:51 +0200)
utils/fgcom/fgcom.cxx

index f93b16eba74a1cc54ca8f5181e2b0ae2ff168496..9ebc88f3906bfebdadee0dbba479af7d8bcbb8f1 100644 (file)
@@ -772,29 +772,15 @@ ptt (int mode)
     {
       /* mic is muted so unmute and mute speaker */
       iaxc_input_level_set (level_in);
-      /*if (!check_special_frq (selected_frequency))
-       {*/
-         iaxc_output_level_set (0.0);
-          SG_LOG( SG_GENERAL, SG_ALERT, "[SPEAK] unmute mic, mute speaker" );
-       /*}
-      else
-       {
-          SG_LOG( SG_GENERAL, SG_ALERT, "[SPEAK] unmute mic" );
-       }*/
+      iaxc_output_level_set (0.0);
+      SG_LOG( SG_GENERAL, SG_ALERT, "[SPEAK] unmute mic, mute speaker" );
     }
   else
     {
       /* mic is unmuted so mute and unmute speaker */
       iaxc_input_level_set (0.0);
-      /*if (!check_special_frq (selected_frequency))
-       {*/
-         iaxc_output_level_set (level_out);
-          SG_LOG( SG_GENERAL, SG_ALERT, "[LISTEN] mute mic, unmute speaker" );
-       /*}
-      else
-       {
-          SG_LOG( SG_GENERAL, SG_ALERT, "[LISTEN] mute mic" );
-       }*/
+      iaxc_output_level_set (level_out);
+      SG_LOG( SG_GENERAL, SG_ALERT, "[LISTEN] mute mic, unmute speaker" );
     }
 }