Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acloseaudio(3X) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

AOpenAudio(3X)

ACloseAudio(3X)  —  Series 700 Only

NAME

ACloseAudio − close connection to specified audio server

SYNOPSIS

#include <audio/Alib.h>

void ACloseAudio (Audio *audio, long *status_return);

DESCRIPTION

ACloseAudio() closes the connection to the server specified by audio and deallocates the Audio structure memory. 

ACloseAudio() waits for the audio server to acknowledge that the audio connection is closed before returning.  After the connection has been closed, it cannot be resumed or used in any other way. 

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 closes the connection to audio and sets up status to receive status data. 

Audio *audio;    /* audio connection */
long status;     /* error status */
.
.
.
/* close audio connection */
ACloseAudio(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

ACloseAudio() was developed by HP. 

SEE ALSO

AOpenAudio(3X). 

Using the Audio Application Program Interface.

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026