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

AuNextEvent - return the next event

Arguments

server    Specifies the connection to the audio server.

       dequeue   Specifies if the event should be removed from the queue.

       event     Returns the event.

Description

AuNextEvent  copies  the next availible event into event.  If dequeue is AuTrue the event is removed from
       the queue.  If the event queue is empty, AuNextEvent flushes  the  output  queue  and  blocks  until  one
       arrives.

Name

AuNextEvent - return the next event

See Also

AuEventsQueued, AuScanEvents, AuScanForTypedEvent.

       audiolib - NetworkAudioSystem C Language Interface

audiolib - event handling                             1.9.4                                       AuNextEvent(3)

Synopsis

       #include <audio/audiolib.h>

       void AuNextEvent(server, dequeue, event)
           AuServer *server;
           AuBooldequeue;
           AuEvent *event; /* RETURN */

See Also