scaleTimeRange(_:toDuration:)
Changes the duration of a time range in a track.
Declaration
func scaleTimeRange(_ timeRange: CMTimeRange, toDuration duration: CMTime)Parameters
- timeRange:
The time range to change.
- duration:
The new duration for the time range.