Macro

CMTIMERANGE_IS_VALID

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

Declaration

#define CMTIMERANGE_IS_VALID(range)

Parameters

range

The time range to be tested for validity.

Return Value

true if range is valid; otherwise, false.

See Also

Inspecting Time Ranges

CMTIMERANGE_IS_EMPTY

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

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.

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.