Beispiel #1
0
        private void ckTestAudio_CheckedChanged(object sender, EventArgs e)
        {
            SaveSettings();

            try {
                ckTestAudio.Text = ckTestAudio.Checked ? Strings.StopAudio : Strings.TestAudio;
                if (ckTestAudio.Checked)
                {
                    RefreshAudioCapability();
                }
                frmAV.RenderAndRunAudio(ac.CaptureGraph, ckTestAudio.Checked);
            }
            catch (COMException ex) {
                frmAV.Log(DShowError._AMGetErrorText(ex.ErrorCode));
                frmAV.Log(ex.ToString());
            }
            catch (Exception ex) {
                frmAV.Log(ex.ToString());
            }
        }
Beispiel #2
0
 private void Log(string msg)
 {
     frmAV.Log(msg);
 }