AudioTimeLaterThanOrEqual

Compare two AudioTime values with wraparound.

Synopsis

int AudioTimeLaterThanOrEqual (AudioTime t1, AudioTime t2)

Description

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

The two time values are assumed to be within 0x7fffffff ticks of each other. Time differences larger than that 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 or equal to t2.
FALSE
If t1 is earlier than t2.

Implementation

Macro implemented in audio.h V22.

Associated Files

audio.h

See Also

AudioTimeLaterThan(), CompareAudioTimes()