AuScanForTypedEvent man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

AuScanForTypedEvent(3)					AuScanForTypedEvent(3)

Name
       AuScanForTypedEvent - return the first event of a specific type

Synopsis
       #include <audio/audiolib.h>

       AuBool AuScanForTypedEvent(server, mode, dequeue, type, event)
	   AuServer *server;
	   int mode;
	   AuBool dequeue;
	   int type;
	   AuEvent *event; /* RETURN */

Arguments
       server	 Specifies the connection to the audio server.

       mode	 Specifies how far to look for a match.	 This should be one of
		 these constants: AuEventsQueuedAlready,  AuEventsQueuedAfter‐
		 Reading, or AuEventsQueuedAfterFlush.

       dequeue	 Specifies  if a matching event is found, should it be removed
		 from the queue.

       type	 Specifies the type of event to match.	The type should be one
		 of  these  constants:	AuEventTypeElementNotify, AuEventType‐
		 GrabNotify, or AuEventTypeMonitorNotify.

       event	 Returns the matching event if found.

Description
       AuScanForTypedEvent scans the event queue looking for the  first	 event
       that  matches type.  If mode is AuEventsQueuedAlready, AuScanForTypedE‐
       vent only  checks  for  events  already	in  the	 queue.	  If  mode  is
       AuEventsQueuedAfterReading, and a matching event isn't found already in
       the queue, AuScanForTypedEvent attempts to read more events out of  the
       application's  connection.   If	mode is AuEventsQueuedAfterFlush and a
       matching event isn't already in the queue or isn't waiting to be	 read,
       AuScanForTypedEvent  flushes the output queue and attempts to read more
       events out of the application's connection.  If dequeue is AuTrue,  and
       a matching event is found, it is removed from the queue.

See Also
       AuEventsQueued, AuScanEvents, AuNextEvent.

       audiolib - Network Audio System C Language Interface

audiolib - event handling	     1.9.4		AuScanForTypedEvent(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net