Scroll to navigation

AuAnyEvent(3) Library Functions Manual AuAnyEvent(3)


AuAnyEvent - any event structure


#include <audio/audiolib.h>

typedef union _AuEvent
. . .
AuAnyEvent auany;
. . .

typedef struct _AuAnyEvent
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuID id;


The event type. The currently defined event types are AuEventTypeElementNotify, AuEventTypeGrabNotify, and AuEventTypeMonitorNotify.
The serial ID of the event expanded from the 16 bit value sent by the server.
AuTrue if the event came from a SendEvent protocol request.
The connection to the audio server that the event was read from.
The server time in milliseconds when the event was generated.
The ID of the source of the event.


AuAnyEvent is a generic event structure containing members common to all event types.

See Also

AuElementNotifyEvent, AuMonitorNotifyEvent, AuGrabNotifyEvent, AuErrorEvent.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - events