1AuMonitorNotifyEvent(3) Library Functions Manual AuMonitorNotifyEvent(3)
2
3
4
6 AuMonitorNotifyEvent - monitor notify event structure
7
9 #include <audio/audiolib.h>
10
11 typedef union _AuEvent
12 {
13 . . .
14 AuMonitorNotifyEvent aumonitornotify;
15 . . .
16 }AuEvent;
17
18 typedef struct _AuMonitorNotifyEvent
19 {
20 int type;
21 AuUint32 serial;
22 AuBool send_event;
23 AuServer *server;
24 AuTime time;
25 AuFlowID flow;
26 unsigned char element_num;
27 unsigned char format;
28 unsigned char num_tracks;
29 unsigned short count;
30 unsigned short num_fields;
31 AuUint32 data;
32 AuUint32 data1;
33 AuUint32 data2;
34 }AuMonitorNotifyEvent;
35
37 type The event type. MonitorNotify events are type AuEventType‐
38 MonitorNotify.
39
40 serial The serial ID of the event expanded from the 16 bit value
41 sent by the server.
42
43 send_event
44 AuTrue if the event came from a SendEvent protocol request.
45
46 server The connection to the audio server that the event was read
47 from.
48
49 time The server time in milliseconds when the event was generated.
50
51 flow Specifies the ID of the flow that caused the event.
52
53 element_num
54 The index of the ExportMonitor element that gnerated this
55 event.
56
57 format The format of the monitor data. Currently, the following
58 formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8,
59 AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormat‐
60 LinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormat‐
61 LinearUnsigned16LSB. Taken from the ExportMonitor element.
62
63 num_tracks
64 The number of tracks in the monitor data. Taken from the
65 ExportMonitor element.
66
67 count Always 0.
68
69 num_fields
70 Always 2.
71
72 data Monitor data.
73
74 data1 Monitor data.
75
76 data2 Monitor data.
77
79 MonitorNotify events will be sent to clients with flows containing
80 ExportMonitor elements.
81
83 AuAnyEvent, AuElementNotifyEvent, AuErrorEvent, AuGrabNotifyEvent.
84
85 audiolib - Network Audio System C Language Interface
86
87
88
89audiolib - events 1.9.4 AuMonitorNotifyEvent(3)