Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

AuAnyEvent - any event structure

Description

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

Members

type      The   event   type.    The   currently   defined   event  types  are  AuEventTypeElementNotify,
                 AuEventTypeGrabNotify, and AuEventTypeMonitorNotify.

       serial    The serial ID of the event expanded from the 16 bit value sent by the server.

       send_eventAuTrue if the event came from a SendEvent protocol request.

       server    The connection to the audio server that the event was read from.

       time      The server time in milliseconds when the event was generated.

       id        The ID of the source of the event.

Name

AuAnyEvent - any event structure

See Also

AuElementNotifyEvent, AuMonitorNotifyEvent, AuGrabNotifyEvent, AuErrorEvent.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - events                                     1.9.4                                        AuAnyEvent(3)

Structures

       #include <audio/audiolib.h>

       typedef union _AuEvent
       {
           . . .
           AuAnyEventauany;
           . . .
       }AuEvent;

       typedef struct _AuAnyEvent
       {
           int type;
           AuUint32serial;
           AuBoolsend_event;
           AuServer *server;
           AuTimetime;
           AuIDid;
       }AuAnyEvent;

See Also