Macro

CMTIMERANGE_IS_EMPTY

Returns a Boolean value that indicates whether a given CMTimeRange has a duration of 0.

Declaration

#define CMTIMERANGE_IS_EMPTY(range)

Parameters

range

The time range to be tested for emptiness.

Return Value

true if range has a duration of 0; otherwise, false.

See Also

Inspecting Time Ranges

CMTIMERANGE_IS_INDEFINITE

Returns a Boolean value that indicates whether a given CMTimeRange is indefinite.

CMTIMERANGE_IS_INVALID

Returns a Boolean value that indicates whether a given CMTimeRange is invalid.

CMTIMERANGE_IS_VALID

Returns a Boolean value that indicates whether a given CMTimeRange is valid.

CMTimeRangeGetEnd

Returns a CMTime structure representing the end of a time range.

CMTimeRangeGetIntersection

Returns the intersection of two CMTimeRanges.

CMTimeRangeGetUnion

Returns the union of two CMTimeRanges.