コード例 #1
0
 public void Dispose()
 {
     if (_Provider != null)
     {
         _Provider._Capture.DataAvailable -= Capture_DataAvailable;
         _Provider = null;
     }
 }
コード例 #2
0
            public Reader(WaveInProvider provider, int len)
            {
                _Provider    = provider;
                BufferLength = len;
                _Buffer      = new CaptureBuffer(_Provider.Format, len);

                _Provider._Capture.DataAvailable += Capture_DataAvailable;
            }