alFlushEvents(3dm)

alFlushEvents - Flush all events in event queue

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

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
     alFlushEvents(3dm) discards all events in eventq and leaves it empty.  If
     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)