alCloseEventQueue(3dm)                                  alCloseEventQueue(3dm)


NAME
     alCloseEventQueue - close an audio event queue

SYNOPSIS
     #include <dmedia/audio.h>

     int alCloseEventQueue(ALeventQueue queue)

PARAMETER
     queue   expects the ALeventQueue handle for the audio event queue you
             want to close.  This handle is the returned value of the
             alOpenEventQueue(3dm) call.

DESCRIPTION
     alCloseEventQueue closes the given audio event queue and frees the
     associated resources.  Any events remaining in the queue will be lost.
     Since queue will be deallocated, it cannot be used in any subsequent
     audio library function calls.

DIAGNOSTICS
     Upon successful completion, alCloseEventQueue(3dm) returns 0. Otherwise
     retrieved using oserror(3C).


     AL_BAD_INVALID_EVENT_QUEUE
                   ALeventQueue is either invalid or null.

SEE ALSO
     alOpenEventQueue(3dm), oserror(3C)


                                                                        Page 1