alGetEventUST(3dm) alGetEventUST(3dm)
alGetEventUST - get Unadjusted System Time of audio event
#include <dmedia/audio.h>
long long alGetEventUST(ALevent event)
event expects an ALevent structure initialized by alNextEvent(3dm) or
alCheckEvent(3dm).
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).
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.
alNewEvent(3dm), alNextEvent(3dm), alCheckEvent(3dm),
alGetFrameTime(3dm), oserror(3C) alGetFrameTime(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|