Contents

CMBufferQueueGetEndPresentationTimeStamp(_:)

Gets the greatest end presentation timestamp of a buffer queue.

Declaration

func CMBufferQueueGetEndPresentationTimeStamp(_ queue: CMBufferQueue) -> CMTime

Parameters

  • queue:

    CMBufferQueue being interrogated.

Return Value

Returns the sum of PresentationTimeStamp and the individual buffer durations.

Discussion

This is the maximum end time (PTS + duration) of buffers in the queue. If the getPresentationTimeStamp callback is NULL, kCMTimeInvalid will be returned.

See Also

Inspecting Duration and Timing