alGetEventUST(3dm) alGetEventUST(3dm) NAME alGetEventUST - get Unadjusted System Time of audio event SYNOPSIS #include <dmedia/audio.h> long long alGetEventUST(ALevent event) PARAMETER event expects an ALevent structure initialized by alNextEvent(3dm) or alCheckEvent(3dm). DESCRIPTION alGetEventUST returns the Unadjusted System Time (UST) from the ALevent structure. The UST is a 64-bit number in nanoseconds indicating when the event was posted. It lies on the same timeline as the time returned by alGetFrameTime(3dm). DIAGNOSTICS Upon successful completion, alGetEventUST returns a long long whose value is the Unadjusted System Time (UST) for the audio event. Otherwise, alGetEventUST returns -1 and sets an error number. This error number can be retrieved with oserror(3C). alGetEventUST can fail for the following reason: AL_BAD_INVALID_EVENT event is invalid or null. SEE ALSO alNewEvent(3dm), alNextEvent(3dm), alCheckEvent(3dm), alGetFrameTime(3dm), oserror(3C) alGetFrameTime(3dm) Page 1