CMTimebaseCreateWithMasterClock(allocator:masterClock:timebaseOut:)
Creates a timebase by using a primary clock.
Declaration
func CMTimebaseCreateWithMasterClock(allocator: CFAllocator?, masterClock: CMClock, timebaseOut: UnsafeMutablePointer<CMTimebase?>) -> OSStatusDiscussion
The timebase will initially have rate zero and time zero. Pass CMClockGetHostTimeClock()() for masterClock to have the host time clock drive this timebase.
See Also
Deprecations
CMTimebaseSetRateAndAnchorTime(_:rate:anchorTime:immediateMasterTime:)CMTimebaseGetMasterTimebase(_:)CMTimebaseGetMasterClock(_:)CMTimebaseGetMaster(_:)CMTimebaseGetUltimateMasterClock(_:)CMTimebaseSetMasterClock(_:_:)CMTimebaseSetMasterTimebase(_:_:)CMTimebaseSetAnchorTime(_:timebaseTime:immediateMasterTime:)CMTimebaseCopyMaster(_:)CMTimebaseCopyMasterClock(_:)CMTimebaseCopyMasterTimebase(_:)CMTimebaseCopyUltimateMasterClock(_:)CMTimebaseCreateWithMasterTimebase(allocator:masterTimebase:timebaseOut:)