Beispiel #1
0
 private void End_call_Click(object sender, RoutedEventArgs e)
 {
     voicehandler.Stop_it();
     volumein     = 0;
     volumeout    = 0;
     callinprog   = false;
     voicehandler = null;
 }
Beispiel #2
0
 private void Call_Click(object sender, RoutedEventArgs e)
 {
     if (!callinprog)
     {
         voicehandler = new VoiceHandling();
         voicehandler.callme(iNList.SelectedIndex, oUTList.SelectedIndex, ipBOX.Text);
         callinprog = true;
     }
 }
Beispiel #3
0
 private void Window_Closing(object sender, CancelEventArgs e)
 {
     // voicehandler.Stop_it();
     if (callinprog)
     {
         voicehandler.Stop_it();
         volumein     = 0;
         volumeout    = 0;
         callinprog   = false;
         voicehandler = null;
     }
 }
Beispiel #4
0
 private void Unamangedbytevoice(PacketHeader packetHeader, Connection connection, byte[] incomingObject)
 {
     VoiceHandling.decode(incomingObject, incomingObject.Length);
 }