public bool MightDrift(CMClock otherClock) { if (otherClock == null) { throw new ArgumentNullException("otherClock"); } return(CMClockMightDrift(Handle, otherClock.Handle)); }
public CMTimebase(CMClock masterClock) { if (masterClock == null) { throw new ArgumentNullException("masterClock"); } var error = CMTimebaseCreateWithMasterClock(IntPtr.Zero, masterClock.Handle, out handle); if (error != CMTimebaseError.None) { throw new ArgumentException(error.ToString()); } CFObject.CFRetain(Handle); }
public CMTimebase(CMClock masterClock) { if (masterClock == null) throw new ArgumentNullException ("masterClock"); var error = CMTimebaseCreateWithMasterClock (IntPtr.Zero, masterClock.Handle, out handle); if (error != CMTimebaseError.None) throw new ArgumentException (error.ToString ()); CFObject.CFRetain (Handle); }
public bool MightDrift(CMClock otherClock) { if (otherClock == null) throw new ArgumentNullException ("otherClock"); return CMClockMightDrift (Handle, otherClock.Handle); }