alFlushEvents(3dm)					    alFlushEvents(3dm)
      alFlushEvents - Flush all events in event queue
      #include <dmedia/audio.h>
     int alFlushEvents(ALeventQueue eventq)
     eventq   expects a	valid ALeventQueue initialized by
	      alOpenEventQueue(3dm).
      alFlushEvents(3dm)	discards all events in eventq and leaves it empty.  If
     the event queue is	empty, this operation will do nothing.
     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.
     alOpenEventQueue(3dm), oserror(3C)
									PPPPaaaaggggeeee 1111 [ Back ]
 |