itemTime(forMachAbsoluteTime:)
Converts a Mach host time to the item’s timebase.
Declaration
func itemTime(forMachAbsoluteTime machAbsoluteTime: Int64) -> CMTimeParameters
- machAbsoluteTime:
The Mach host time to convert. You typically retrieve this value using the
mach_absolute_timefunction.
Return Value
The equivalent time in the item’s timebase.