alDeselectEvents(3dm)					 alDeselectEvents(3dm)
      alDeselectEvents -	Deselect event queue from receiving events from	a
     resource.
     #include <dmedia/audio.h>
     int alDeselectEvents(ALeventQueue eventq, int resource
			 int *params, int nparams)
     eventq   expects an ALeventQueue structure	properly initialized by
	      alOpenEventQueue(3dm).
     resource expects an int with the value of the resource you	are interested
	      in unregistering.
     params   is an int	pointer	with a parameter list of the audio events you
	      wish to unregister.
     nparams  is an int	with the total number of parameters of the list
	      params.
     alDeselectEvents stops eventq from	receiving events from resource that
     match parameters from the list params.  Parameters	in params that have
     not been previously selected through alSelectEvents(3dm) will be ignored.
     Upon successful completion, alDeselectEvents returns 0. Otherwise,
     alDeselectEvents returns -1 and sets an error number which	can be
     retrieved with oserror(3C).
     alDeselectEvents can fail for the following reason:
     AL_BAD_INVALID_EVENTQ    eventq is	either invalid or null.
     AL_BAD_RESOURCE	     An	invalid	resource has been selected.
     AL_BAD_PARAM	      params is	either invalid or null.
     AL_BAD_BUFFERLENGTH_NEG  nparams is either	less than or equal to zero.
     alOpenEventQueue(3dm), alSelectEvents(3dm), alParams(3dm),	oserror(3C)
									PPPPaaaaggggeeee 1111 [ Back ]
 |