alFlushEvents(3dm) alFlushEvents(3dm) NAME alFlushEvents - Flush all events in event queue SYNOPSIS #include <dmedia/audio.h> int alFlushEvents(ALeventQueue eventq) PARAMETER eventq expects a valid ALeventQueue initialized by alOpenEventQueue(3dm). DESCRIPTION the event queue is empty, this operation will do nothing. DIAGNOSTICS Upon successful completion, alFlushEvents returns 0. Otherwise, alFlushEvents returns -1 and sets an error number which can be retrieved with oserror(3C). alFlushEvents can fail for the following reason: AL_BAD_INVALID_EVENTQ eventq is either invalid or null. SEE ALSO alOpenEventQueue(3dm), oserror(3C) Page 1