コード例 #1
0
 public void Dispose()
 {
     if (this._dec != IntPtr.Zero)
     {
         ComplexDecimator.complex_decimator_destroy(this._dec);
         this._dec = IntPtr.Zero;
     }
 }
コード例 #2
0
 public unsafe int Process(Complex *buffer, int length)
 {
     return(ComplexDecimator.complex_decimator_process(this._dec, buffer, length));
 }
コード例 #3
0
 public ComplexDecimator(int decimationRatio)
 {
     this._decimationRatio = decimationRatio;
     this._dec             = ComplexDecimator.complex_decimator_create(decimationRatio);
 }