Esempio 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();
        }
 private void buttonStop_Click(object sender, EventArgs e)
 {
     audioPlaybackGraph.Stop();
 }