1AuAnyEvent(3) Library Functions Manual AuAnyEvent(3)
2
3
4
6 AuAnyEvent - any event structure
7
9 #include <audio/audiolib.h>
10
11 typedef union _AuEvent
12 {
13 . . .
14 AuAnyEvent auany;
15 . . .
16 }AuEvent;
17
18 typedef struct _AuAnyEvent
19 {
20 int type;
21 AuUint32 serial;
22 AuBool send_event;
23 AuServer *server;
24 AuTime time;
25 AuID id;
26 }AuAnyEvent;
27
29 type The event type. The currently defined event types are
30 AuEventTypeElementNotify, AuEventTypeGrabNotify, and AuEvent‐
31 TypeMonitorNotify.
32
33 serial The serial ID of the event expanded from the 16 bit value
34 sent by the server.
35
36 send_event
37 AuTrue if the event came from a SendEvent protocol request.
38
39 server The connection to the audio server that the event was read
40 from.
41
42 time The server time in milliseconds when the event was generated.
43
44 id The ID of the source of the event.
45
47 AuAnyEvent is a generic event structure containing members common to
48 all event types.
49
51 AuElementNotifyEvent, AuMonitorNotifyEvent, AuGrabNotifyEvent, AuEr‐
52 rorEvent.
53
54 audiolib - Network Audio System C Language Interface
55
56
57
58audiolib - events 1.9.4 AuAnyEvent(3)