convertTime(_:to:)
Converts a time from one timebase or clock to another timebase or clock.
Declaration
func convertTime<T>(_ time: CMTime, to clockOrTimebase: T) -> CMTime where T : CMSyncProtocolParameters
- time:
The time to convert from.
- clockOrTimebase:
The clock or time to convert to.