public void Dispose() { if (this._dec != IntPtr.Zero) { ComplexDecimator.complex_decimator_destroy(this._dec); this._dec = IntPtr.Zero; } }
public unsafe int Process(Complex *buffer, int length) { return(ComplexDecimator.complex_decimator_process(this._dec, buffer, length)); }
public ComplexDecimator(int decimationRatio) { this._decimationRatio = decimationRatio; this._dec = ComplexDecimator.complex_decimator_create(decimationRatio); }