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); }
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); } }
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); } }
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; }
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; }