alFlushEvents(3dm)alFlushEvents(3dm)NAMEalFlushEvents - 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).
DESCRIPTIONalFlushEvents(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 ALSOalOpenEventQueue(3dm), oserror(3C)
Page 1