Ejemplo n.º 1
0
        public frmAudioSettingsBase(FilterInfo fi, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(frmAV != null);
            this.frmAV        = frmAV;
            this.sourceFilter = fi;

            ac = new AudioCapability(fi);
            ac.SetLogger(new AVLogger(Log));
            ac.ActivateMicrophone();
        }
Ejemplo n.º 2
0
        public frmVideoSettings(VideoCapability vc, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(vc != null);
            Debug.Assert(vc.VideoCaptureGraph != null);
            Debug.Assert(frmAV != null);

            this.vc    = vc;
            this.vcg   = vc.VideoCaptureGraph;
            this.frmAV = frmAV;
        }
Ejemplo n.º 3
0
        public frmVideoSettings(VideoCapability vc, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(vc != null);
            Debug.Assert(vc.VideoCaptureGraph != null);
            Debug.Assert(frmAV != null);

            this.vc = vc;
            this.vcg = vc.VideoCaptureGraph;
            this.frmAV = frmAV;
        }
Ejemplo n.º 4
0
        public frmAudioSettings(FilterInfo fi, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(frmAV != null);
            this.frmAV = frmAV;
            this.sourceFilter = fi;

            ac = new AudioCapability(fi);
            ac.SetLogger(new AVLogger(Log));
            ac.ActivateMicrophone();
        }
Ejemplo n.º 5
0
        public frmAudioSettings(AudioCapability ac, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(ac != null);
            Debug.Assert(ac.AudioCaptureGraph != null);
            Debug.Assert(frmAV != null);

            this.ac = ac;
            this.acg = ac.AudioCaptureGraph;
            this.frmAV = frmAV;
        }
Ejemplo n.º 6
0
        public frmVideoSettings(FilterInfo fi, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(frmAV != null);

            this.fi    = fi;
            this.frmAV = frmAV;

            if (!frmAV.videoCapabilities.ContainsKey(fi))
            {
                vc = new VideoCapability(fi);
                vc.SetLogger(new AVLogger(Log));
                vc.ActivateCamera();
                disposeCapability = true;
            }
            else
            {
                vc = frmAV.videoCapabilities[fi];
                disposeCapability = false;
            }
        }
Ejemplo n.º 7
0
 public frmAudioSettingsOpus(FilterInfo fi, frmAVDevices frmAV): base(fi, frmAV) {
     InitializeComponent();
 }
 public frmAudioSettingsUnc(FilterInfo fi, frmAVDevices frmAV) : base(fi, frmAV)
 {
     InitializeComponent();
 }
Ejemplo n.º 9
0
        public frmVideoSettings(FilterInfo fi, frmAVDevices frmAV)
        {
            InitializeComponent();

            Debug.Assert(frmAV != null);

            this.fi = fi;
            this.frmAV = frmAV;

            if (!frmAV.videoCapabilities.ContainsKey(fi)) {
                vc = new VideoCapability(fi);
                vc.SetLogger(new AVLogger(Log));
                vc.ActivateCamera();
                disposeCapability = true;
            }
            else {
                vc = frmAV.videoCapabilities[fi];
                disposeCapability = false;
            }
        }