private static IntPtr Create(FVecWindowType windowType, int size) { if (size <= 0) { throw new ArgumentOutOfRangeException(nameof(size)); } var handle = NativeMethods.new_aubio_window(windowType.GetDescription(), size.ToUInt32()); return(handle); }
public void SetWindowType(FVecWindowType windowType) { ThrowIfDisposed(); ThrowIfNot(NativeMethods.fvec_set_window(this, windowType.GetDescription())); }