Scroll to navigation

AuMonitorNotifyEvent(3) Library Functions Manual AuMonitorNotifyEvent(3)


AuMonitorNotifyEvent - monitor notify event structure


#include <audio/audiolib.h>

typedef union _AuEvent
. . .
AuMonitorNotifyEvent aumonitornotify;
. . .

typedef struct _AuMonitorNotifyEvent
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuFlowID flow;
unsigned char element_num;
unsigned char format;
unsigned char num_tracks;
unsigned short count;
unsigned short num_fields;
AuUint32 data;
AuUint32 data1;
AuUint32 data2;


The event type. MonitorNotify events are type 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.
Specifies the ID of the flow that caused the event.
The index of the ExportMonitor element that gnerated this event.
The format of the monitor data. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB. Taken from the ExportMonitor element.
The number of tracks in the monitor data. Taken from the ExportMonitor element.
Always 0.
Always 2.
Monitor data.
Monitor data.
Monitor data.


MonitorNotify events will be sent to clients with flows containing ExportMonitor elements.

See Also

AuAnyEvent, AuElementNotifyEvent, AuErrorEvent, AuGrabNotifyEvent.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - events