Contents

itemTime(forMachAbsoluteTime:)

Converts a Mach host time to the item’s timebase.

Declaration

func itemTime(forMachAbsoluteTime machAbsoluteTime: Int64) -> CMTime

Parameters

  • machAbsoluteTime:

    The Mach host time to convert. You typically retrieve this value using the mach_absolute_time function.

Return Value

The equivalent time in the item’s timebase.

See Also

Time conversion