convertScale(_:method:)
Converts the source time to a new timescale using the specified rounding method.
Declaration
func convertScale(_ newTimescale: Int32, method: CMTimeRoundingMethod) -> CMTimeParameters
- newTimescale:
The timescale to use for the converted time.
- method:
The rounding method to apply.
Return Value
A converted time value.