alCloseEventQueue(3dm) alCloseEventQueue(3dm)
alCloseEventQueue - close an audio event queue
#include <dmedia/audio.h>
int alCloseEventQueue(ALeventQueue queue)
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.
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.
Upon successful completion, alCloseEventQueue(3dm) returns 0. Otherwise
alCloseEventQueue(3dm) returns -1 and sets an error number which can be
retrieved using oserror(3C).
alCloseEventQueue(3dm) can fail for the following reason:
AL_BAD_INVALID_EVENT_QUEUE [Toc] [Back]
ALeventQueue is either invalid or null.
alOpenEventQueue(3dm), oserror(3C)
PPPPaaaaggggeeee 1111 [ Back ]
|