Contents

CVDisplayLinkGetOutputVideoLatency(_:)

Retrieves the nominal latency of a display link.

Declaration

func CVDisplayLinkGetOutputVideoLatency(_ displayLink: CVDisplayLink) -> CVTime

Parameters

  • displayLink:

    The display link whose latency value you want to obtain.

Return Value

A CVTime structure that holds the latency value. This value may be indefinite.

Discussion

This call allows you to retrieve the device’s built-in output latency. For example, an NTSC device with one frame of latency might report back 1001/30000 or 2002/60000.

See Also

Inspecting Display Links