Exemplo n.º 1
0
        public void ConnectToSkype()
        {
            audioPlaybackGraph.Stop();
            DisconnectFromSkype();
            if (audioInterceptor == null)
            {
                var skype = new Skype();

                audioInterceptor = new SkypeAudioInterceptor(skype, skype, log, audioPipeline);

                audioInterceptor.SkypeStatusChanged += AudioInterceptorOnSkypeStatusChanged;
                AudioInterceptorOnSkypeStatusChanged(this, EventArgs.Empty);// get initial state set up
            }
            audioInterceptor.Attach();
        }
Exemplo n.º 2
0
 private void buttonStop_Click(object sender, EventArgs e)
 {
     audioPlaybackGraph.Stop();
 }