Contents

CMTimebaseCreateWithMasterClock(allocator:masterClock:timebaseOut:)

Creates a timebase by using a primary clock.

Declaration

func CMTimebaseCreateWithMasterClock(allocator: CFAllocator?, masterClock: CMClock, timebaseOut: UnsafeMutablePointer<CMTimebase?>) -> OSStatus

Discussion

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