APutBackEvent(3X) — Series 700 Only
NAME
APutBackEvent − push event onto head of audio event queue
SYNOPSIS
#include <audio/Alib.h>
void APutBackEvent (
Audio *audio,
AEvent *event,
long *status_return
);
DESCRIPTION
APutBackEvent() pushes event onto the head of the audio event queue for the server specified by audio.
audio specifies the Audio structure associated with this connection.
event is the event to put on the queue.
status_return receives the returned status of the operation, unless it is set to NULL.
ERRORS
If status_return is not set to NULL, one of the following is returned in status_return:
0 AENoError
2 AEBadAudio
EXAMPLES
The following example puts event at the head of the audio event queue and sets up status_return to receive an error status.
Audio *audio; /* audio connection */
AEvent *event; /* event */
long status; /* error status */
.
.
.
/* put event at head of queue */
event = event_return; /* use event_return value from prior call */
APutBackEvent(audio, event, &status);
DEPENDENCIES
This function belongs to the Audio Library of functions that manage connections to an audio server. The audio server must run on a system that has audio hardware. To find out whether or not your system has audio hardware, refer to the hardware manual that accompanies your system.
AUTHOR
APutBackEvent() was developed by HP.
SEE ALSO
ACheckEvent(3X), ACheckMaskEvent(3X), AEventsQueued(3X), AMaskEvent(3X), ANextEvent(3X), APeekEvent(3X), AQLength(3X), ASelectInput(3X).
Using the Audio Application Program Interface.
Hewlett-Packard Company — HP-UX Release 9.03: April 1994