CMTimebaseGetMaster(_:)
Returns the immediate host (either timebase or clock) of a timebase.
Declaration
func CMTimebaseGetMaster(_ timebase: CMTimebase) -> CMClockOrTimebase?Discussion
Returns NULL if there was an error (such as timebase == NULL). Example of use: time = CMSyncGetTime(CMTimebaseGetMaster(timebase));
See Also
Deprecations
CMTimebaseSetRateAndAnchorTime(_:rate:anchorTime:immediateMasterTime:)CMTimebaseGetMasterTimebase(_:)CMTimebaseGetMasterClock(_:)CMTimebaseGetUltimateMasterClock(_:)CMTimebaseSetMasterClock(_:_:)CMTimebaseSetMasterTimebase(_:_:)CMTimebaseSetAnchorTime(_:timebaseTime:immediateMasterTime:)CMTimebaseCopyMaster(_:)CMTimebaseCopyMasterClock(_:)CMTimebaseCopyMasterTimebase(_:)CMTimebaseCopyUltimateMasterClock(_:)CMTimebaseCreateWithMasterClock(allocator:masterClock:timebaseOut:)CMTimebaseCreateWithMasterTimebase(allocator:masterTimebase:timebaseOut:)