예제 #1
0
    public DFTransform DFT(memblock m)
    {
        global::System.IntPtr cPtr = libwavPINVOKE.Wave_DFT(swigCPtr, memblock.getCPtr(m));
        DFTransform           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DFTransform(cPtr, false);

        if (libwavPINVOKE.SWIGPendingException.Pending)
        {
            throw libwavPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DFTransform obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
예제 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DFTransform obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #4
0
 public virtual DFTransform.DFTResult next(DFTransform.nextResult type)
 {
     global::System.IntPtr cPtr = libwavPINVOKE.DFTransform_next__SWIG_1(swigCPtr, (int)type);
     DFTransform.DFTResult ret = (cPtr == global::System.IntPtr.Zero) ? null : new DFTransform.DFTResult(cPtr, false);
     if (libwavPINVOKE.SWIGPendingException.Pending) throw libwavPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }