AUngrabServer(3X) — Series 700 Only
NAME
AUngrabServer − release server from exclusive use by this connection
SYNOPSIS
#include <audio/Alib.h>
void AUngrabServer (Audio *audio, long *status_return);
DESCRIPTION
AUngrabServer() releases the server from exclusive use by this connection (exclusive use established by AGrabServer()).
audio specifies the Audio structure associated with this connection.
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 releases the server for general use and sets up status to receive an error status.
Audio *audio; /* audio connection */
long status; /* error status */
.
.
.
/* release server for general use */
AUngrabServer(audio, &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
AUngrabServer() was developed by HP.
SEE ALSO
Using the Audio Application Program Interface.
Hewlett-Packard Company — HP-UX Release 9.10: April 1995