Contents

setRate(_:time:atHostTime:)

Sets the playback rate and the relationship between the current time and host time.

Declaration

func setRate(_ rate: Float, time: CMTime, atHostTime hostTime: CMTime)

Parameters

  • rate:

    A new timebase rate. This value must be greater than or equal to 0.0.

  • time:

    A new timebase time. This value must be greater than or equal to Zero, or Invalid.

  • hostTime:

    A new host time. This value must be greater than or equal to Zero, or Invalid.

See Also

Accessing time information