Scroll to navigation

AuErrorEvent(3) Library Functions Manual AuErrorEvent(3)


AuErrorEvent - error event structure


#include <audio/audiolib.h>

typedef union _AuEvent
. . .
AuErrorEvent auerror;
. . .

typedef struct _AuErrorEvent
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuID resourceid;
unsigned char error_code;
unsigned char request_code;
unsigned char minor_code;
AuUint32 l[4];


The event type. Error events are type 0.
The serial number of the failed request.
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 resource ID or other value of the failed request.
The error code of the failed request.
The protocol major request code of the failed request.
The protocol minor request code of the failed request.
Never used?


Error events are sent to clients to alert them of non-fatal errors encountered while processing requests.

See Also

AuAnyEvent, AuElementNotifyEvent, AuGrabNotifyEvent, AuMonitorNotifyEvent.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - events