AuNextEvent (3)
Leading comments
$NCDId: @(#)AuNxtEvt.man,v 1.1 1994/09/27 00:33:26 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing...
Name
AuNextEvent - return the next eventSynopsis
#include <audio/audiolib.h>
void AuNextEvent(server, dequeue, event)
AuServer *server;
AuBool dequeue;
AuEvent *event; /* RETURN */
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.See Also
AuEventsQueued, AuScanEvents, AuScanForTypedEvent.audiolib - Network Audio System C Language Interface