AudioTimeLaterThan

Compare two AudioTime values with wraparound.

Synopsis

int AudioTimeLaterThan (AudioTime t1, AudioTime t2)

Description

AudioTimeLaterThan() compares two AudioTime values, taking into account wraparound.

The two time values are assumed to be within 0x7fffffff ticks of each other. The time differences larger than this number will produce incorrect comparisons.

Arguments

t1
First AudioTime value to compare.
t2
Second AudioTime value to compare.

Return Value

TRUE
If t1 is later than t2.
FALSE
If t1 is earlier than or equal to t2.

Implementation

Macro implemented in audio.h V22.

Associated Files

audio.h

See Also

AudioTimeLaterThanOrEqual(), CompareAudioTimes()