예제 #1
0
 public IQFirFilter(float[] coefficients, bool isMultiThteaded, int decimationFactor)
 {
     this._rFilter = new FirFilter(coefficients, decimationFactor);
       this._iFilter = new FirFilter(coefficients, decimationFactor);
       this._isMultiThteaded = isMultiThteaded;
       if (!this._isMultiThteaded)
     return;
       this._event = new SharpEvent(false);
 }
예제 #2
0
 public IQFirFilter(float[] coefficients, bool isMultiThteaded, int decimationFactor)
 {
     this._rFilter         = new FirFilter(coefficients, decimationFactor);
     this._iFilter         = new FirFilter(coefficients, decimationFactor);
     this._isMultiThteaded = isMultiThteaded;
     if (this._isMultiThteaded)
     {
         this._event = new SharpEvent(false);
     }
 }
예제 #3
0
 public IQFirFilter(float[] coefficients, bool isMultiThteaded, int decimationFactor)
 {
     _rFilter = new FirFilter(coefficients, decimationFactor);
     _iFilter = new FirFilter(coefficients, decimationFactor);
     _isMultiThteaded = isMultiThteaded;
     if (_isMultiThteaded)
     {
         _event = new SharpEvent(false);
     }
 }
예제 #4
0
 public ComplexFifoStream(BlockMode blockMode, int maxSize)
 {
     if (blockMode == BlockMode.BlockingRead || blockMode == BlockMode.BlockingReadWrite)
     this._readEvent = new SharpEvent(false);
       if (blockMode == BlockMode.BlockingWrite || blockMode == BlockMode.BlockingReadWrite)
       {
     if (maxSize <= 0)
       throw new ArgumentException("MaxSize should be greater than zero when in blocking write mode", "maxSize");
     this._writeEvent = new SharpEvent(false);
       }
       this._maxSize = maxSize;
 }
예제 #5
0
 public ComplexFifoStream(BlockMode blockMode, int maxSize)
 {
     if (blockMode == BlockMode.BlockingRead || blockMode == BlockMode.BlockingReadWrite)
     {
         this._readEvent = new SharpEvent(false);
     }
     if (blockMode == BlockMode.BlockingWrite || blockMode == BlockMode.BlockingReadWrite)
     {
         if (maxSize <= 0)
         {
             throw new ArgumentException("MaxSize should be greater than zero when in blocking write mode", "maxSize");
         }
         this._writeEvent = new SharpEvent(false);
     }
     this._maxSize = maxSize;
 }